Click or drag to resize
DigitalRuneRagdollAddToSimulation Method
Adds all parts of the ragdoll to a simulation.

Namespace: DigitalRune.Physics.Specialized
Assembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax
public void AddToSimulation(
	Simulation simulation
)

Parameters

simulation
Type: DigitalRune.PhysicsSimulation
The simulation.
Exceptions
ExceptionCondition
ArgumentNullExceptionsimulation is .
InvalidOperationException The ragdoll cannot be added to the simulation because it has already been added to another simulation.
See Also