| ConstraintSettingsMaxPenetrationCorrectionVelocity Property |
Gets or sets the maximal error correction velocity for correcting rigid body
interpenetrations.
Namespace: DigitalRune.Physics.SettingsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float MaxPenetrationCorrectionVelocity { get; set; }
Public Property MaxPenetrationCorrectionVelocity As Single
Get
Set
public:
property float MaxPenetrationCorrectionVelocity {
float get ();
void set (float value);
}
member MaxPenetrationCorrectionVelocity : float32 with get, set
Property Value
Type:
Single
The maximal error correction velocity for penetration errors. Must be greater than or equal
to 0. The default value is 2.
Exceptions Remarks
The simulation will move bodies to remove constraint errors (e.g. interpenetrations of
rigid bodies or violated joint limits). The error correction velocities for penetration
errors are cut off above MaxPenetrationCorrectionVelocity.
See Also