Logic collision pair

From Valve Developer Community

This point-based entity is available in all Source games.

Entity Description

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

Keyvalues

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
  • 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.