Jump to content

Recommended Posts

I'm trying to build an animation where a wheel rotates based on the path of the axis, axis in this case being a simple primitive although, I don't know how to get the wheel to follow the axis and rotate based on the velocity of the axis (cube) ?

I have the path for the cube but stumped on getting the wheel to follow the cube and to rotate.

Share this post

Link to post
Share on other sites

For the rotations you take (PI * radius)**2  and add that to the translation. You'll probably want to convert from radians to degrees. So for a circle translating in X and rotating in Z you could put something like this in the Z rot parameter...

-deg(pow($PI * (bbox(opinputpath(".", 0), D_XSIZE)/2), 2) + ch("tx"))

  • Like 1
  • Thanks 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