constraint.NoCollide

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

Contents

Description

Creates an no-collide "constraint". Disables collision between two entities.

NOTE

Does not work with players.

Arguments

Entity Ent1

First entity.

Arguments

Entity Ent2

Second entity.

Arguments

number Bone1

Bone of first entity (0 for non-ragdolls).

Arguments

number Bone2

Bone of second entity (0 for non-ragdolls).

Returns

Entity

Constraint. Will return false if the constraint could not be created.
Personal tools
Navigation