Conversation

folks who have done games with non-flat planets: it it annoying doing physics, collision, alignment etc. if you use world coordinates rather than some sort of more gridwise local system with actually flat ground?
21
40
Fun fact: One of the prototypes for XCOM: The Bureau let you fly and dogfight around the entire earth. IIRC I ended up using quaternions a lot, eg 1 quaternion + a height float to represent position.
2
6
Do you remember how you represented heading along the surface of the sphere? That's something that's tripped me up with quaternion+height representations in the past :(
2
1
This was all 10+ years ago, but I think heading was part of that same position quaternion. I imagined it as a ship at the centre of the planet, with the q fully describing its orientation there, then offsetting it by a given distance in its local "up" direction.
1
2