Click or drag to resize

PhysicsRigidBodyApplyForce Method (Vector3, Vector3)

Applies the specified force to the point specified by the offset to the rigid body's center of mass.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void ApplyForce(
	Vector3 force,
	Vector3 offset
)

Parameters

force
Type: Microsoft.DirectXVector3
The force to apply in world space.
offset
Type: Microsoft.DirectXVector3
The offset from the rigid body's center of mass in world space.
See Also