Click or drag to resize
DigitalRuneForceFieldOnApply Method
Called when the simulation wants this force effect to apply forces to rigid bodies.

Namespace: DigitalRune.Physics.ForceEffects
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
protected override void OnApply()
Remarks

Notes to Inheritors: This method must be implemented in derived classes. This method is only called after the force effect was added to a simulation and OnAddToSimulation was called.

This method uses the IAreaOfEffect to call Apply(RigidBody) for each rigid body in the area of effect.

See Also