We are about to switch to a new forum software. Until then we have removed the registration on this forum.
This question may seem very basic, but after a few years of coding, and a few days of searching on the web, I have to admit that I failed to properly move an object on a sphere :'-( After developping a fairly cool 2D flocking system, I wanted to push it to the next dimension, having my boids move on a sphere.
Before interacting with each other, my boids should be able to move along a 'straight' axis on the sphere, which does not necessarily go through the pole(s). I guess that implies some kind of constant speed (radial or not) and that's where I get stuck. I found very few topics on the web about that, mentionning quaternions, spherical coordinates and such, but I couldn't figure it out anyway.
Please share your thoughts about this, any comment is welcome :-)