A function defined in GMBullet.yy
btRigidBody_setMassPropsXYZ(rigidBody, mass, inertiaX, inertiaY, inertiaZ)
Sets the mass and inertia tensor properties for the rigid body using individual components for inertia.
Name | Type | Description |
---|---|---|
rigidBody | Pointer |
A pointer to the btRigidBody object. |
mass | Real |
The mass of the rigid body. |
inertiaX | Real |
The x-component of the inertia tensor. |
inertiaY | Real |
The y-component of the inertia tensor. |
inertiaZ | Real |
The z-component of the inertia tensor. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.