PhysObj/EnableMotion

From Garry's Mod
Jump to: navigation, search
 PhysObj:EnableMotion( )

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

boolean enable

True to enable, false to disable.
Personal tools
Navigation