23 Nov 2015, 20:41
(This post was last modified: 23 Nov 2015, 20:42 by Flávio San.)
I need to execute at the same Tick:
transform.SetRotationComponentX(angleX);
transform.SetRotationComponentY(angleY);
Because I need to Set the rotation component of the transformation matrix to only rotate around the X axis and around the Y axis.
The problem is: When I executing SetRotationComponentY in the sequence after SetRotationComponentX, the rotation around the X axis is not happening.
transform.SetRotationComponentX(angleX);
transform.SetRotationComponentY(angleY);
Because I need to Set the rotation component of the transformation matrix to only rotate around the X axis and around the Y axis.
The problem is: When I executing SetRotationComponentY in the sequence after SetRotationComponentX, the rotation around the X axis is not happening.
✠ nnDnn ✠ The peace of Christ! ✠ nnDnn ✠