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)