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

Script language

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

PhysicsVisualizationSettings.SetShowRigidbodies

public static void SetShowRigidbodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show);

Description

Should any Rigidbodies for the given filterWorkflow be considered by the display filter.

Kinematic Rigidbodies can be further filtered by SetShowKinematicBodies. Sleeping Rigidbodies can be further filtered by SetShowSleepingBodies.

See Also: filterWorkflow, Rigidbody.

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