Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AreaEffector2D.useGlobalAngle

Switch to Manual
public bool useGlobalAngle;

Description

Should the forceAngle use global space?

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