Rigidbody.WakeUp Manual     Reference     Scripting  
Scripting > Runtime Classes > Rigidbody
Rigidbody.WakeUp

function WakeUp () : void

Description

Forces a rigidbody to wake up.

JavaScripts
rigidbody.WakeUp();

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
rigidbody.WakeUp();
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
rigidbody.WakeUp()

See Rigidbody Sleeping for more information.