Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

Rigidbody2D.bodyType

Switch to Manual
public RigidbodyType2D bodyType;

Description

The physical behaviour type of the Rigidbody2D.

See Also: RigidbodyType2D.