This version of Unity is unsupported.

Rigidbody2D.WakeUp

Switch to Manual

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.

See Also: IsSleeping, Sleep, sleepMode.