Orbiting with Perspective
July 8th, 2008Just add a touch of fake perspective, and away it goes…
Just add a touch of fake perspective, and away it goes…
A function to orbit an object around the center of the stage using speed and radius parameters.
A quick function to move an object smoothly towards the mouse by using a friction value to slow down the movement.
A simple easy function to rotate an object towards the mouse.