Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

ForceMode2D

Description

Option for how to apply a force using Rigidbody2D.AddForce.

Variables

Force Add a force to the Rigidbody2D, using its mass.
Impulse Add an instant force impulse to the rigidbody2D, using its mass.