RotateEuler

function

RotateEuler(_x[, _y, _z])

Description

Rotates the matrix using euler angles.

Arguments

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

Returns

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 May 16, 2022 using GMDoc.