RotateEuler

function

RotateEuler(_x[, _y, _z])

Description

Rotates the matrix using euler angles.

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 The resulting matrix.

Note

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

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.