PhysObj.IsAsleep
From GMod Wiki
Function | |
Syntax | PhysObj:Sleep( ) |
Description: | |
Returns whether or not the physics object is "asleep". | |
Returns: | Boolean |
In Object: | Physobj |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=PhysObj.IsAsleep]PhysObj.IsAsleep [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
This page needs reviewing. An expert needs to verify that all of the information in this page is correct. See more articles for review here. |
Examples
Description | Wakes the physics object of entity 55 if it's asleep. |
---|---|
Used on | |
Code | local phys1 = Entity(55):GetPhysicsObject() if phys1:IsAsleep() then phys1:Wake() end |
Output | N/A |