Garry's Mod Wiki

Revision Difference

Entity:PhysWake#514637

<function name="PhysWake" parent="Entity" type="classfunc">⤶ <description>Wakes up the entity's physics object</description>⤶ <realm>Shared</realm>⤶ <file line="144-L151">lua/includes/extensions/entity.lua</file>⤶ </function>⤶ ⤶ <example>⤶ <description>This is what the function does internally.</description>⤶ <code>⤶ local phys = self:GetPhysicsObject()⤶ if (phys:IsValid()) then⤶ phys:Wake()⤶ end⤶ </code>⤶ ⤶ </example>