Method SetImpulseEventThresholdSingleConstraint
SetImpulseEventThresholdSingleConstraint(int, float3)
Set the impulse event threshold of a constraint specified by constraint index. If a selected constraint is a motor, this function will have no effect.
Declaration
public void SetImpulseEventThresholdSingleConstraint(int constraintIndex, float3 impulseEventThreshold)
Parameters
Type | Name | Description |
---|---|---|
int | constraintIndex | Constraint index (a value between 0 and 2). |
float3 | impulseEventThreshold | Impulse event threshold. |