Hey! I’m having an issue where I’m trying to use find look at rotation to create a lever, I’m assuming it’s because it is rolling first before doing the pitch, because half of the circle is inverted, I’m hoping someone else could point me in the right direction, because I feel like I’ve tried everything from reordering the inputs into the lookat, to trying to determine whether the roll is engaged or not, but have ultimately come up empty handed.
The engine has a habit of correcting between ±180. You will always get this problem is you use ‘set rotation’ nodes.
There is 3 ways ( at least ) around the problem
-
Don’t set rotation, use ‘add local rotation’ instead. You might have to rethink your approach
-
Use rinterp to move between rotations. This works because these nodes use quaternions internally.
-
Use quaternions.
Ah, I see, that makes sense, much appreciated!
1 Like