Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ApplyTorque(float, bool)

Apply a torque. This affects the angular velocity without affecting the linear velocity.
Read time 1 minuteLast updated 10 days ago

Definition

public void ApplyTorque(float torque, bool wake = true)

Parameters

torque

Torque, usually in N*m.

wake

Should the body be woken up.