Garry's Mod Wiki

Garry's Mod Wiki

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

Description

Sets the position of the physobject.

Arguments

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...