Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AreaEffector2D.drag

Switch to Manual
public float drag;

Description

The linear drag to apply to rigid-bodies.

The drag coefficient is applied in addition to the standard Rigidbody2D drag coefficient to provide additional drag in the effector area.

Did you find this page useful? Please give it a rating: