Click or drag to resize
DigitalRuneConstraintHelperSetVelocityOfWorldPoint Method
Applies an impulse so that the velocity of point on the body is changed.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public static void SetVelocityOfWorldPoint(
	this RigidBody body,
	Vector3F positionWorld,
	Vector3F velocityWorld
)

Parameters

body
Type: DigitalRune.PhysicsRigidBody
The body.
positionWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The position on the body in world space.
velocityWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The target velocity of the point in world space.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RigidBody. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionbody is .
See Also