Garry's Mod Wiki


  construct.SetPhysProp( Player ply, Entity ent, number physObjID, PhysObj physObj, table data )


Sets props physical properties.


1 Player ply
The player. This variable is not used and can be left out.
2 Entity ent
The entity to apply properties to
3 number physObjID
You can use this or the argument below. This will be used in case you don't provide argument below.
4 PhysObj physObj
The physics object to apply the properties to
5 table data
The table containing properties to apply. See PhysProperties structure