Garry's Mod Wiki


  PhysObj:SetPos( Vector position, boolean teleport = false )


Sets the position of the physobject.


1 Vector position
The new position of the physobject in world coordinates. (source units).

The new position will not be applied on the parent entity while the physics object is asleep (PhysObj:Sleep)
2 boolean teleport = false
If true, temporarily disables collisions of the physics objects just before moving it, then enables collisions back again.