A function defined in GMBullet.yy
btRigidBody_setSleepingThresholds(rigidBody, linear, angular)
Sets the thresholds for when the rigid body is considered sleeping.
Name | Type | Description |
---|---|---|
rigidBody | Pointer |
A pointer to the btRigidBody object. |
linear | Real |
The linear sleeping threshold. If the linear velocity is below this threshold, the body may go to sleep. |
angular | Real |
The angular sleeping threshold. If the angular velocity is below this threshold, the body may go to sleep. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.