Click or drag to resize
DigitalRuneForceEffectAddTorque Method
Applies a torque to the rigid body at the center of mass.

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

Parameters

body
Type: DigitalRune.PhysicsRigidBody
The rigid body.
torqueWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The torque in world space.
See Also