Rigidbody2D.WakeUp

Declaration

public void WakeUp();

Description

Disables the "sleeping" state of a rigidbody.

Sleeping is an optimisation that is used to temporarily remove an object from physics simulation when it is at rest. This function wakes up a rigidbody that is currently sleeping.

Additional resources: IsSleeping, Sleep, sleepMode.


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