文档

Unity Engine

Unity Engine

WakeUp()

Disables the "sleeping" state of a rigidbody.
阅读时间1 分钟最后更新于 2 天前

Definition

public void WakeUp()

Remarks

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.