Hey all,
Been ages since I’ve been on here (took some time to learn Game Maker… I’m back).
So I’ve spent most of the evening trying to answer a simple question: What is Unity’s order of rotation?
Can I find the answer anwhere? Nope!
Anyone know for sure?
Also, when it runs through it’s order of rotation is it rotating on it’s own updated axis (i.e. once X, if it’s first, has been updated do it’s next execution on the new setup or the previous setup)? Or the world axis (which never changes)?
1 Like
The order is first come, first serve.
public void Update()
{
transform.rotation = Quaternion.identity; // this occurs immediately.
}
If you did another transform change later in the code, it would also occur immediately.
If you are referring to how Quaternion.Euler works, the docs explain it.
If you meant Order Of Events, that’s here.
1 Like