function WakeUp () : void
Description
Forces a rigidbody to wake up.
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.