Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ApplyAngularImpulse(float, bool)

Apply an angular impulse. This should be used for one-shot impulses. If you need a steady torque, use a torque instead, which will work better with the sub-stepping solver.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void ApplyAngularImpulse(float impulse, bool wake = true)

Parameters

impulse

The angular impulse, usually in units of kg"m"m/s.

wake

Should the body be woken up.