Logic collision pair: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==Entity description==
==Entity description==
It can be used to enable/disable vphysics collisions between two target entities.
It can be used to enable/disable [[VPhysics]] collisions between two target entities.


== Keyvalues ==
== Keyvalues ==

Revision as of 13:43, 22 April 2018

Template:Base point

Entity description

It can be used to enable/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