Click or drag to resize
DigitalRuneUniversalJointOnAddToSimulation Method
Called when this constraint is added to a simulation.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
protected override void OnAddToSimulation()
Exceptions
ExceptionCondition
PhysicsExceptionBodyA or BodyB is . The constraint bodies must not be when a constraint/joint is added to a simulation.
Remarks

The simulation to which the constraint is added is set in the property Simulation.

Notes to Inheritors: When overriding OnAddToSimulation in a derived class, be sure to call the base class's OnAddToSimulation method.

See Also