A function defined in GMBullet.yy
btConeTwistConstraint_setLimit(coneTwistConstraint, swingSpan1, swingSpan2, twistSpan[, softness[, biasFactor[, relaxationFactor]]])
Sets the limits for the cone twist constraint.
Name | Type | Description |
---|---|---|
coneTwistConstraint | Pointer |
The pointer to the cone twist constraint. |
swingSpan1 | Real |
The maximum angle in radians for the first swing limit. |
swingSpan2 | Real |
The maximum angle in radians for the second swing limit. |
twistSpan | Real |
The maximum angle in radians for the twist limit. |
softness | Real |
The softness factor for the limit. Default is 1.0. |
biasFactor | Real |
The bias factor for the limit. Default is 0.3. |
relaxationFactor | Real |
The relaxation factor for the limit. Default is 1.0. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.