constraint.FindConstraints

From Garry's Mod
Jump to: navigation, search
 constraint.FindConstraints( )

Contents

Description

Returns a table of all constraints of a specific type directly connected to the entity

Arguments

Entity ent

The entity to check

Arguments

string type

The type of constraint (eg. "Weld", "Elastic", "NoCollide")

Returns

table

All the constraints of this entity.
Personal tools
Navigation