Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WakeUp(): void;
void WakeUp();
def WakeUp() as void

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.