Logic collision pair: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=logic_collision_pair}}
{{base point|logic_collision_pair}}
{{base_point}}


==Entity Description==
==Entity Description==
An entity that can be used to enables/disable vphysics collisions between two target entities.
An entity that can be used to enables/disable vphysics collisions between two target entities.


==Keyvalues==
== Keyvalues ==
{{KV|Attachment 1|target_destination|The first entity.}}
{{KV|Attachment 2|target_destination|The second entity.}}
{{KV|Start with collisions disabled|boolean|If '''Yes''', starts with collisions between the pair disabled.  If '''No''', starts with collisions between the pair enabled.}}
{{KV Targetname}}


* {{Not in FGD}} {{KV Targetname}}
== Inputs ==
{{IO|EnableCollisions|Enable collisions between the first and second entity.}}
{{IO|DisableCollisions|Disable collisions between the first and second entity.}}
{{I Targetname}}


* '''attach1'''
== Outputs ==
: <target_destination> The first entity involved in this pair.
{{O Targetname}}
 
* '''attach2'''
: <target_destination> The second entity involved in this pair.
 
* '''startdisabled'''
: {{boolean}} If '''Yes''', starts with collisions between the pair disabled.  If '''No''', starts with collisions between the pair enabled.
 
==Inputs==
 
* '''EnableCollisions'''
: Enable collisions between the first and second entity.
 
* '''DisableCollisions'''
: Disable collisions between the first and second entity.

Revision as of 23:07, 8 June 2011

Template:Base point

Entity Description

An entity that can be used to enables/disable vphysics collisions between two target entities.

Keyvalues

Attachment 1 ([todo internal name (i)]) <targetname>
The first entity.
Attachment 2 ([todo internal name (i)]) <targetname>
The second entity.
Start with collisions disabled ([todo internal name (i)]) <boolean>
If Yes, starts with collisions between the pair disabled. If No, starts with collisions between the pair enabled.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

EnableCollisions
Enable collisions between the first and second entity.
DisableCollisions
Disable collisions between the first and second entity.


Outputs