Set Rotation showing limited range

Thanks, using the angular factor actually works for what i’m doing right now.
About the file, that’s all there is, it’s a very simple one i made to show my problem:

SetRotationTest.blend (786.2 KB)

Simply, a node constantly rotates the cube in all three axis, then i use Set Rotation so that only Z rotation shows up.

Note that in my actual project I rotate my player along Z to align it with it’s velocity, but since it’s a physics object i need to prevent it from rotating along X and Y.

Also, i saw your topic on “How to align an object with a normal?”, that could offer a more dynamic solution. BTW, have you tried using the Z component from a Get Rotation node and the X,Y from the Look At node to feed the Set Rotation?

1 Like