A function defined in GMBullet.yy
btRigidBody_setGravityXYZ(rigidBody, gravityX, gravityY, gravityZ)
Sets the gravity for a rigid body using individual components (x, y, z).
Name | Type | Description |
---|---|---|
rigidBody | Pointer |
A pointer to the btRigidBody object. |
gravityX | Real |
The x-component of the gravity. |
gravityY | Real |
The y-component of the gravity. |
gravityZ | Real |
The z-component of the gravity. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.