- Home /
Rotation attribution problem
Hello! I'm getting a problem when I do a direct attribution to a rotation:
player.avatar.transform.rotation= newRotation;
After that, the rotation values appear on the transform of the object perfectly, but the axis of the object doesn't change anymore, they remain constant in rotation (0,0,0), even if I force it to rotate on the Scene interface. Does someone knows why this happens and how to fix it? Thanks.
Comment
Your answer
Follow this Question
Related Questions
Rolling a capsule lengthways, sideways and twisting with AddTorque 1 Answer
Is there a way to lock my camera's rotation and movement on certain axis? 2 Answers
Rotation eulerangles not adjusting correctly... 2 Answers
How to modify the value of an axis without touching to the others ? 1 Answer
Smooth rotation about global axis instead of local axis. 1 Answer