Logic collision pair: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Robot: fixing template case.)
Line 7: Line 7:
==Keyvalues==
==Keyvalues==


* {{not in fgd}} {{kv targetname}}
* {{not in fgd}} {{KV Targetname}}


* '''attach1'''
* '''attach1'''

Revision as of 19:54, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

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

Keyvalues

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

  • attach1
<target_destination> The first entity involved in this pair.
  • 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.