Click or drag to resize

PhysicsRigidBodyAddForce Method

Note: This API is now obsolete.

Applies the specified force 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#
[ObsoleteAttribute("AddForce is deprecated, please use ApplyForce instead.", 
	false)]
public void AddForce(
	Vector3 force
)

Parameters

force
Type: Microsoft.DirectXVector3
The force to apply in world space.
Remarks
This method is deprecated. Please instead use ApplyForce(Vector3).
See Also