Click or drag to resize

RigidBody2DApplyTorque Method

Apply a torque. This affects the angular velocity without affecting the linear velocity of the center of mass. This wakes up the body.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void ApplyTorque(
	double torque
)

Parameters

torque
Type: SystemDouble
The torque about the z-axis (out of the screen), usually in N-m.
See Also