A function defined in GMBullet.yy
btRigidBody_applyForceXYZ(rigidBody, forceX, forceY, forceZ, relPosX, relPosY, relPosZ)
Applies a force to a rigid body at a given position using individual components.
Name | Type | Description |
---|---|---|
rigidBody | Pointer |
A pointer to the btRigidBody object. |
forceX | Real |
The x-component of the force to apply. |
forceY | Real |
The y-component of the force to apply. |
forceZ | Real |
The z-component of the force to apply. |
relPosX | Real |
The x-component of the position where the force is applied, relative to the center of mass. |
relPosY | Real |
The y-component of the position where the force is applied, relative to the center of mass. |
relPosZ | Real |
The z-component of the position where the force is applied, relative to the center of mass. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.