Constraint Class |
Namespace: DigitalRune.Physics.Constraints
The Constraint type exposes the following members.
Name | Description | |
---|---|---|
Constraint | Initializes a new instance of the Constraint class |
Name | Description | |
---|---|---|
ApplyImpulse |
Called by the simulation to apply an impulse that satisfies the constraint.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAddToSimulation |
Called when this constraint is added to a simulation.
| |
OnApplyImpulse |
Called when the constraint impulse should be applied.
| |
OnChanged |
Called when properties of this constraint were changed.
| |
OnRemoveFromSimulation |
Called when this constraint is removed from a simulation.
| |
OnSetup |
Called when constraint should be set-up for a new time step.
| |
Setup |
Called by the simulation to prepare this constraint for constraint solving for a new time
step.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AngularConstraintImpulse |
Gets or sets the angular constraint impulse that was applied.
| |
BodyA |
Gets or sets the first body.
| |
BodyB |
Gets or sets the second body.
| |
CollisionEnabled | ||
Enabled |
Gets or sets a value indicating whether this constraint is enabled.
| |
LinearConstraintImpulse |
Gets or sets the linear constraint impulse that was applied.
| |
Simulation |
Gets the simulation to which this constraint belongs.
|