constraint/NoCollide

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Add "view source" link)
m
Line 7: Line 7:
 
|File=lua/includes/modules/constraint.lua
 
|File=lua/includes/modules/constraint.lua
 
|Line=917
 
|Line=917
 +
 +
{{Note|Does not work with players.}}
 +
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 02:52, 26 October 2019

 constraint.NoCollide( )

Contents

Description

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

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