logic_collision_pair
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
...
class hierarchy |
---|
CLogicCollisionPair defined in logicentities.cpp
|
logic_collision_pair
is a point entity available in all Source games.
It can be used to enable/disable VPhysics collisions between two target entities.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Attachment 1
(attach1)
<targetname> - The first entity.
- Attachment 2
(attach2)
<targetname> - The second entity.
- Note:These targetnames are evaluated at enable time. !activator and !caller are not accepted.
- Start with collisions disabled
(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.