You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bullet support an attribute for breaking impulse threshold in its
constraints (btTypedConstraint). This attribute allow bullet to
disable the constraint when the impulse is greater than the threshold
specified, when this happen the constraint function isEnabled return
false and no object are influenced by the constraint, but this constraint
still remains in dynamic world.
To renable it, the function setEnabled have to be called with true
as argument. Note that the constrained objects must be unslept.
The threshold and the enabled status are both exposed to user in the
python API under KX_ConstraintWrapper.breakingThreshold and
KX_ConstraintWrapper.enabled.
In UI the threshold is exposed in the rigid body constraint layout,
to modify this value the option "Use Breaking" must be enabled because
internally the threshold is near to infinite and it will request to show
infinite value in UI if there's no option and the user will not be able
to disable temporary breaking without lose his previous value.
Fix a part of issue: #511.
0 commit comments