Click or drag to resize

PhysicsRigidBodyAddTorque Method

Note: This API is now obsolete.

Applies the specified angular 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("AddTorque is deprecated, please use ApplyTorque instead.", 
	false)]
public void AddTorque(
	Vector3 torque
)

Parameters

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