Jump to content
Sign in to follow this  

Extract pivot position from animated object

Recommended Posts


So let's say you have an animated cube in world space with no deformations, just rotation and translation. The animation is baked onto the object, so I don't have the access to the animation rig (eg. alembic). 

What I need is a pivot position for that animated cube. Also we don't know if the pivot is in the center of the object, it can be anywhere.

At first I thought all I need is just to do maketransform() and then extract the pivot from the matrix. However when building matrix with maketransform() you need to provide a pivot, so when extracting you will end up with that. 

So... how can I extract the pivot point from animated object? Is it even possible?

Edited by JJ FX

Share this post

Link to post
Share on other sites

You can use extract transform node.

See hip file attached.



Edited by Mykolas
Renamed some nodes for clarity
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this