A function defined in GMBullet.yy
btRigidBody_applyImpulseXYZ(rigidBody, impulseX, impulseY, impulseZ, relPosX, relPosY, relPosZ)
Applies an impulse to a btRigidBody at a specified position in world coordinates.
Name | Type | Description |
---|---|---|
rigidBody | Pointer |
A pointer to the btRigidBody object. |
impulseX | Real |
The x-component of the impulse to apply. |
impulseY | Real |
The y-component of the impulse to apply. |
impulseZ | Real |
The z-component of the impulse to apply. |
relPosX | Real |
The x-component of the position relative to the center of mass where the impulse is applied. |
relPosY | Real |
The y-component of the position relative to the center of mass where the impulse is applied. |
relPosZ | Real |
The z-component of the position relative to the center of mass where the impulse is applied. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.