Hinge2JointOnAddToSimulation Method |
Namespace: DigitalRune.Physics.Constraints
Exception | Condition |
---|---|
PhysicsException | BodyA or BodyB is . The constraint bodies must not be when a constraint/joint is added to a simulation. |
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.