CinnamonMetal Posted January 15, 2019 Share Posted January 15, 2019 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. Quote Link to comment Share on other sites More sharing options...
woodenduck Posted January 15, 2019 Share Posted January 15, 2019 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")) 1 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.