logic_collision_pair

From Valve Developer Community

Jump to: navigation, search

This is a point entity available in all Source games.

Entity Description

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

Keyvalues

Name <string>
The targetname other entities refer to this entity by.
  • 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.
Personal tools