Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: BigDaz on September 28, 2013, 05:53:14 PM
-
When rotating any object in the X axis past 90 degrees, it splits in 2 and flickers between the 2 positions. The other axis work OK.
Use the slider to rotate the box -
https://dl.dropboxusercontent.com/u/181824179/Export.html
-
Hi,
Can you explain what you are doing to achieve this?
bye,
Jean
-
I've just done exactly as this tutorial but using the X axis instead of the Y axis-
-
Or is it just me?
-
Hi,
That's why you are having gimbal loack issues I guess. Cause the range of movement differs based on the axis orientation.
can you pm me with your project? I'll look at it.
bye,
Jean
-
I think I've found the problem to be the slider gui rather than the object rotation.
In this demo the slider can be switched off with the button on the right. When the slider is turned off the flickering bug stops. It seems to pick one of the rotations at random though.
https://dl.dropboxusercontent.com/u/181824179/Arse.html
This is the project file:
https://www.yousendit.com/download/OGhkUXVwbWdoMldybHNUQw
-
Is this a playmaker bug or a Unity bug?
I'll report it to the Unity guys if need be.
-
Hi,
No, there is no bug here. It's just the way rotation works...
You must define the y and z values for the rotation, so instead of leaving y and z to "none", set it to 0 and it will work just fine. If you leave it none, then PlayMaker doesn't affect these components and they are free for gimbal lock.
bye,
Jean
-
Fixed, thanks a lot. :)