Getting velocity and acceleration of multiple segments in a rig

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to continuously get or calculate both translational and rotational velocity and acceleration of multiple segments in my rig.
I haven't been able to find any obvious method for doing this, neither through Maya's interface, scripting nor the API , so I would like to ask if anyone can think of a way that I have missed? Possibly through Maya's physics engine?
If not then I'd be curious if anyone can think of a way to calculate it manually on the fly? - ie. getting the derivative and 2nd derivative of animation curves in any easy way?
In an effort to avoid updating the rig too often for discrete sampling I have been thinking to practically copy the animation curves by keyframes and tangents to get direct access to the spline equations. If I also redo all the transform calculations in the rig then I might be able to get an analytical solution. However, this is a lot of work and seems very redundant.
Can anyone think of a better way?
Cheers and thanks in advance