# Does Game Maker use use intrinsic or extrinsic rotations?

I have a pretty difficult problem on my hands. My 3D character moves through space and rotates. I do not know the angle of rotation at any given time, but I do have three X, Y, Z unit vectors serving as basis vectors for the character's coordinate system.

I see that in the Euler angle page on Wikipedia there are three formula for extrinsic rotation. My problem is that they do not seem to work in any manner whatsoever. Either my reading of that page misled me, or game maker does not use extrinsic rotation.

Do Game Maker's rotation transformations always rotate globally in 3D space, or does it use the current set of transformations and rotate around the current X, Y, or Z axis?

In Game Maker Studio, any transformation is always relative to the (0,0,0) position. To perform transforms properly, you use the function d3d_transform_set_identity() to rotate and scale it, before translating it.