I think you can write position and angle(and roll, tilt etc.) of every object and variables to a file when player is playing the game, after when you want playback, you move the objects from first position to last position with you saved positions.

Sorry for my bad English.