Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PrepareSimulation

This stage prepares the physics scene for simulation.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
PrepareSimulation = 1

Remarks

Specifically, this stage:
  • Displays any pending errors from the physics system.
  • Calls Physics.SyncTransforms to apply any pending Transform changes to the physics system.
  • Stores interpolation poses.