A function defined in GMBullet.yy
btHingeConstraint_setLimit(hingeConstraint, low, high[, softness[, biasFactor[, relaxationFactor]]])
Sets the limits for the hinge constraint.
Name | Type | Description |
---|---|---|
hingeConstraint | Pointer |
The pointer to the btHingeConstraint. |
low | Real |
The lower limit for the hinge angle. |
high | Real |
The upper limit for the hinge angle. |
softness | Real |
The softness for the limits. Default is 0.9. |
biasFactor | Real |
The bias factor for the limits. Default is 0.3. |
relaxationFactor | Real |
The relaxation factor for the limits. Default is 1.0. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.