Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useGlobalAngle

Should the forceAngle use global space?
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useGlobalAngle { get; set; }

Remarks

When true, the
forceAngle
is specified in global-space. When false, the
forceAngle
is specified in local-space.