Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Sleep()

Forces an articulation body to sleep.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void Sleep()

Remarks

A common use is to call this from Awake in order to make an articulation body sleep at startup. See the Rigidbodies Overview in the manual for more information about Rigidbody/ArticulationBody sleeping.