Click or drag to resize

PhysicsRigidBodyApplyLocalForce 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 ApplyLocalForce(
	Vector3 force,
	Vector3 offset
)

Parameters

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