BBMOD_Matrix.RotateEulerSelf

A function defined in BBMOD_Matrix.gml

RotateEulerSelf(_x[, _y, _z])

Description

Rotates the matrix using euler angles and stores the result into self.

Arguments

Name Type Description
_x Real, Struct.BBMOD_Vec3 Rotation on the X axis or a vector with rotations on all axes.
_y Real Rotation on the Y axis. Use undefined if _x is a vector. Defaults to undefined.
_z Real Rotation on the Z axis. Use undefined if _x is a vector. Defaults to undefined.

Returns

Struct.BBMOD_Matrix Returns self.

Note

The order of rotations is YXZ, same as in matrix_build.

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.