|
Forces a rigidbody to wake up.
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.