Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

EffectorForceMode2D

enumeration

Description

The mode used to apply Effector2D forces.

Variables

ConstantThe force is applied at a constant rate.
InverseLinearThe force is applied inverse-linear relative to a point.
InverseSquaredThe force is applied inverse-squared relative to a point.