I have a robot that moves its arms and itself when the user presses certain keys,
I need to do a ten second animation displaying all of his moves when a certain key is pressed, this means running through a sequence of moves. any ideas on how to do this? or a good tutorial to help?
The exact implementation will depends on what tool you want to use to create you robot’s positions. How will you store the postions ? Hard-wired in the code ? On a text or binary file ?
Then, it is just a matter of interpolationg between the different positions, according to time.
Search using those keywords :
lerp (for linear interpolation of positions)
interpolation quaternion rotations (for the rotations)