Animation Drivers based on Change in Value

Animation tools, character animation, non linear animation

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Tue Oct 02, 2012 1:52 am
Location: Orange County, CA

Animation Drivers based on Change in Value

Post by dapsgeekjohnny5 »

I'm working on a project right now involving space ships flying in space. What I would LIKE to do is to animate their positions, and have the rotation change based on their flight path. My plan is to use a driver to set the rotation to the atan of the change in y over the change in x. However, in selecting variables, I only have access to the object's current position, not it's position relative to where it was in the last frame. The bonus point is that once I've gotten its Z-axis rotation fixed, I want to use that information to drive its X-axis rotation to create a banking effect, but this would also be based on the change in rotation, not it's current rotation.

So. As I'm creating expressions for the drivers, is there a way to access a property value from the previous frame, or to directly read the change in a value between the last frame and this?

Any help would be appreciated. Thank you!

Post Reply