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

Namespace: DigitalRune.Physics.ForceEffects
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
protected static void AddForce(
	RigidBody body,
	Vector3F forceWorld,
	Vector3F positionWorld
)

Parameters

body
Type: DigitalRune.PhysicsRigidBody
The rigid body.
forceWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The force in world space.
positionWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The world space position where the force is a applied on the body.
See Also