constraint/NoCollide

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
{{Func
 
{{Func
 
|Description=Creates an no-collide "constraint". Disables collision between two entities.
 
|Description=Creates an no-collide "constraint". Disables collision between two entities.
 +
{{Note|Does not work with players.}}
 
|Realm=Server
 
|Realm=Server
 
|IsClass=No
 
|IsClass=No
Line 7: Line 8:
 
|File=lua/includes/modules/constraint.lua
 
|File=lua/includes/modules/constraint.lua
 
|Line=917
 
|Line=917
 
{{Note|Does not work with players.}}
 
 
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 02:53, 26 October 2019

 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