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

function WakeUp () : void

Description

Forces a rigidbody to wake up.

JavaScript
rigidbody.WakeUp();

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
rigidbody.WakeUp()

See Rigidbody Sleeping for more information.