This is amazing, I was totally blown away once I started driving the spaceship, I couldn't believe it! I want to learn how you did all this, thanks for posting the github link.
Viewing post in KUIPER SHIFT jam comments
Haha if you're talking about the 3D math, it's mostly in https://github.com/noaner/kuiper-shift/blob/main/src/math.ts -- sorry, it's a little messy. I worked off a few tutorials but relied a lot on this one: https://www.3dgep.com/understanding-the-view-matrix/. Figuring out rotations was the hardest part (but important to making the ship controls feel natural!). I wound up using matrices and referencing https://en.wikipedia.org/wiki/Rotation_matrix quite a bit. And tbh a lot of it was trial and error--I still don't know how or why some of it works.