wakeUp
wakeUp<
Target>(authority,entity):BodyRefusal|null
Wakes a sleeping dynamic body, so the next step moves it. Returns null, or in a deployed world the reason it refused.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Target extends Entity |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
entity |
BodyTarget<Target, Dynamic> |
Returns
Section titled “Returns”BodyRefusal | null