Rotating Cubes Along a Fixed Axis While Moving Along Control Points

So I have four cubes that I want to move simultaneously, along the X, Y and Z planes (one following the other while they each ascend). To do this I am using a control point system with an interp to movement component. In other words, I am specifying two or more XYZ vector coordinates and a time duration in which those objects should move between the specified points. This works fine with the cubes are stationery, but when I try and add a rotating movement component, the sequence falls apart and the cubes start flying all over the place. How do I fix-in a 90 degrees per second rotation along the Z-axis so that each cube spins while moving along the control points?



hi,
you could use RotateVectorAroundAxis

makes something like this… in all axis :smiley:

hope this helps you :slight_smile:

cheers :vulcan_salute:

Thank you, I will experiment with this in short order.

1 Like

hi,
what i forgot in the post… the Offset is local… in the RotateVectorAroundAxis… so (50,0,0) would do for forward,…

hope it helps :slight_smile:

cheers :vulcan_salute:

So I worked it out. Just had to use the Set Relative Rotation node with some deltatime nodes to control for each vector (X, Y and Z). Along with my constructor script from earlier, this worked fine.