| RigidBodyAddForce Method (Vector3F) |
Applies a force at the center of mass of the rigid body.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public void AddForce(
Vector3F forceWorld
)
Public Sub AddForce (
forceWorld As Vector3F
)
public:
void AddForce(
Vector3F forceWorld
)
member AddForce :
forceWorld : Vector3F -> unit
Parameters
- forceWorld
- Type: DigitalRune.Mathematics.AlgebraVector3F
The force 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) must be called before each time step - or a
ForceEffect can be used instead.
See Also