Logic collision pair: Difference between revisions
Jump to navigation
Jump to search
Note:These targetnames are evaluated at enable time. !activator and !caller are not accepted.
(-added class hierarchy, cleanup) |
m (→Keyvalues) |
||
Line 6: | Line 6: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Attachment 1|intn=attach1|target_destination|The first entity.}} | {{KV|Attachment 1|intn=attach1|target_destination|The first entity.}} | ||
{{KV|Attachment 2|intn= | {{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=startdisabled|boolean|If '''Yes''', starts with collisions between the pair disabled. If '''No''', starts with collisions between the pair enabled.}} | {{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.}} |
Revision as of 07:30, 18 November 2022
![]() |
---|
CLogicCollisionPair |
![]() |
It can be used to enable/disable VPhysics collisions between two target entities.
Keyvalues
- Attachment 1 (attach1) <targetname>
- The first entity.
- Attachment 2 (attach2) <targetname>
- The second entity.

- Start with collisions disabled (startdisabled) <boolean>
- If Yes, starts with collisions between the pair disabled. If No, starts with collisions between the pair enabled.
- 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
Inputs
- EnableCollisions
- Enable collisions between the first and second entity.
- DisableCollisions
- Disable collisions between the first and second entity.