ApplyTorque(float, bool)
Apply a torque. This affects the angular velocity without affecting the linear velocity. PhysicsBody.ApplyTorque.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void ApplyTorque(float torque, bool wake = true)