btQuaternion_createFromEuler

A function defined in GMBullet.yy

btQuaternion_createFromEuler(yaw, pitch, roll)

Description

Creates a new quaternion representing a rotation using Euler angles (yaw, pitch, roll).

Arguments

Name Type Description
yaw Real The yaw angle (rotation around the vertical axis) in radians.
pitch Real The pitch angle (rotation around the lateral axis) in radians.
roll Real The roll angle (rotation around the longitudinal axis) in radians.

Returns

Pointer A pointer to the newly created btQuaternion representing the rotation.


Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.