Notifications
Clear all

[Closed] Rotating a spline circle

Hey guys,

I wrote a script that basically pulls in “frame x,y,z,x,y,z” from an external file and applies the values as keyframes to an object. I had a thought that since i have the position data that i could use that to figure out tire rotation.
So what i want to try and do would be something like:

-create a dummy object, create four spline circles linked to the dummy
-then my script would read in and apply the keyframe data.
-based on the keyframed positions and the spline circles radius, they would rotate the proper amount over each frame.
-i think having it so that the circle radius is editable would be good (different tire sizes)

Some of this is easy but i wanted to get an idea how you guys would approach this…especially the circle rotation stuff.

Thanks in advance!