Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IgnoreEmptyScenes

Define whether or not to skip the simulation if there are no active physics objects in the scene.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
IgnoreEmptyScenes = 2

Remarks

Skips the SimulationStage.RunSimulation stage if there are no active Rigidbodies, ArticulationBodies, or Colliders in the scene. This option has no effect if the SimulationStage.RunSimulation stage is not specified in the PhysicsScene.RunSimulationStages call.