I would like to rotate a smaller sphere around a larger sphere. so far no problem.
When the larger sphere moves the smaller sphere should react on this movement, something like a rubber band or delay to the movement of the larger sphere.
I would like to rotate a smaller sphere around a larger sphere. so far no problem.
When the larger sphere moves the smaller sphere should react on this movement, something like a rubber band or delay to the movement of the larger sphere.
perhaps you must implement a sort of “spring”.
or use a physics engine to avoid rewriting code, something like ofxBullet, ofxMSAPhysics.
joint example ofxbullet:
spring tutorial:
https://icculus.org/~lucasw/Dynamics/Spring%20Tutorial.html
good day