Garry's Mod Wiki

PhysObj:EnableMotion

PhysObj:EnableMotion( boolean enable )

Description

Sets whether the physobject should be able to move or not.

This is the exact method the Physics Gun uses to freeze props. If a motion-disabled physics object is grabbed with the physics gun, the object will be able to move again. To disallow this, use GM:PhysgunPickup.

Arguments

1 boolean enable
True to enable, false to disable.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 6