Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

var simulated: bool;
bool simulated;
simulated as bool

Description

Indicates whether the rigid body should be simulated or not by the physics system.

When not simulated, any attached Collider2D or Joint2D also do not participate in the physics simulation.