logic_collision_pair

From Source Entities
Jump to navigation Jump to search

Code classes:

logic_collision_pair is a point entity present in all Source games. It can be used to control if two specific entities consider each other to be solid.

Keyvalues[edit | edit source]

Attachment 1 (attach1) to Attachment 2 (attach2) <target_destination>
Entities to target.
Start with collisions disabled (startdisabled) <boolean>
Self-explanatory.

Inputs[edit | edit source]

EnableCollisions
Enables collisions between the two entities.
DisableCollisions
Disables collisions between the two entities.