Click or drag to resize
DigitalRuneRigidBodyAddTorque Method
Applies a torque at the center of mass of 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 AddTorque(
	Vector3F torqueWorld
)

Parameters

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