construct.SetPhysProp

From Garry's Mod
Jump to: navigation, search
 construct.SetPhysProp( )

Contents

Description

Sets props physical properties.

Arguments

Player ply

The player. This variable is not used and can be left out.

Arguments

Entity ent

The entity to apply properties to

Arguments

number physObjID

You can use this or the argument below. This will be used in case you don't provide argument below.

Arguments

PhysObj physObj

The physics object to apply the properties to

Arguments

table data

The table containing properties to apply. See PhysProperties structure
Personal tools
Navigation