23 Nov 2015, 21:37
(This post was last modified: 27 Nov 2015, 22:50 by Flávio San.)
I forgot to say that I am using mCubeTransform->SetTransform(transform)
I can't use the SetRotationComponentXYZ because it carries the other axes together.
I can't use the SetRotationComponentXYZ because it carries the other axes together.
(23 Nov 2015, 21:30)Ketschak Wrote:(23 Nov 2015, 20:41)Flávio San Wrote: 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.
You need to use the method SetRotationComponentXYZ.
The method SetRotationComponentY automatically sets the other two rotation components X and Z to 0.
✠ nnDnn ✠ The peace of Christ! ✠ nnDnn ✠