Quaternions rotation stuck
Hi. im stuck with quaternions. I have a property, which takes a quaternion and applies it rotation to several gameobjects.
This is the property:
When i apply this code in other script, it runs well, and the objects spins:
(_rot_lateral is a value which comes from mouse movement)
when i replace Quaternion.identity to the value of the property (SC_CLIS.VistaInterioresDireccion), i just dont get any response (the property returns always (0, 0, 0, 0)). There is something i dont know about using properties and quaternions? i cant find the problem
Your answer
Follow this Question
Related Questions
Assign an object rotation along a single axis from other object's rotation. 0 Answers
How to have objects rotate around a given point that are scripted to face the player 1 Answer
Rotate a GameObject a fixed amount on key press struggles. Stops at 180. 1 Answer
How to find a position's angle around an arbitrary axis? 1 Answer