Logic collision pair: Difference between revisions
Jump to navigation
Jump to search

Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
(-cleanup) |
||
Line 7: | Line 7: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Attachment 1|intn=attach1|target_destination|The first entity.}} | {{KV|Attachment 1|intn=attach1|target_destination|The first entity.}} | ||
{{KV|Attachment 2|intn=attach2|target_destination|The second entity.}} | {{KV|Attachment 2|intn=attach2|target_destination|The second entity.}} | ||
{{Note|These targetnames are evaluated at enable time. !activator and !caller are not accepted.}} | :{{Note|These targetnames are evaluated at enable time. !activator and !caller are not accepted.}} | ||
{{KV|Start with collisions disabled|intn= | {{KV|Start with collisions disabled|intn=StartDisabled|boolean|If '''Yes''', starts with collisions between the pair disabled. If '''No''', starts with collisions between the pair enabled.}} | ||
== Inputs == | == Inputs == | ||
{{IO|EnableCollisions|Enable collisions between the first and second entity.}} | {{IO|EnableCollisions|Enable collisions between the first and second entity.}} | ||
{{IO|DisableCollisions|Disable collisions between the first and second entity.}} | {{IO|DisableCollisions|Disable collisions between the first and second entity.}} |
Revision as of 17:22, 22 February 2024

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


![]() |
---|
CLogicCollisionPair |
![]() |
logic_collision_pair
is an e0 available in all Source games.
It can be used to enable/disable VPhysics collisions between two target entities.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.