Quote:Original post by abadosaDid you read the thread that I linked to? What about the Gamasutra article?
The problem now is that I want to move the inhabitants on the surface of the planet but not in terms of spherical coordinates. To put it simply, I need to move and rotate these entities in a "local way" (like you would do in a plane) without thinking in angles, latitudes or longitudes.
Quote:Original post by SiS-ShadowmanAgain, I would seriously not use spherical coordinates for this. First of all, the methods described in the thread and article mentioned previously will work for any type of irregular surface, not just spheres. Also, it seems to me that it'd take a bit of effort to map linear motion to motion in latitude/longitude space in a way that would make sense.
It's not impossible. In order to make them move in curve you simply need to change the velocity vector over time. The example I gave you above used a constant velocity but can simply use any formula you want to make the velocity change.
Now, maybe there's some tricky math you can use to make it all work (and maybe it's a 'solved problem' for applications used for navigation or what have you), but I'm not sure why you'd bother with it for something like this. I'm pretty sure the methods described in the thread and article are what's typically used for games that involve motion over arbitrarily oriented surfaces, and for what it's worth, I've found these methods to work well in practice.
That's just my view on it though.