Is this a Gimbal Lock?

Hey , i got here this antenna which should open by rotating local rotation of “Y” to 0 but the problem is that i have rotation 0 on both forward and backward direction as shown in the video , i want it to open only forward direction but it sometimes open forward sometimes backward , any tips how to fix it ?
here is a code


Here is a video that show i got 0 on forward and backward

Hey,
yes, you’re running into a gimbal lock. The easiest solution I would have in my mind would be to use FTransform as it uses quaternions internally.

3 Likes