Click or drag to resize
DigitalRuneRigidBodyAddForce Method (Vector3F, Vector3F)
Applies a force to the rigid body.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public void AddForce(
	Vector3F forceWorld,
	Vector3F positionWorld
)

Parameters

forceWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The force in world space.
positionWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The position where the force is applied in world space.
Remarks
The force will influence the body in the next time step. The same force is applied for all internal sub time steps and the forces will be cleared at the end of a time step. If a permanent force should act on the rigid body, the method AddForce(Vector3F, Vector3F) must be called before each time step - or a ForceEffect can be used instead.
See Also