Logic collision pair: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Categorized)
No edit summary
Line 6: Line 6:
An entity that can be used to enables/disable vphysics collisions between two target entities.
An entity that can be used to enables/disable vphysics collisions between two target entities.


==Entity Values==
==Keyvalues==
===Keys===


* '''Attachment 1''' ''attach1 <target_destination>''
*{{kv targetname}}
** The first entity involved in this pair.
:Not available by default, but it can still be added in [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] mode and used by the [[Entity_I/O_-_How_to_hook_up_entity_inputs_and_outputs.|I/O system]].
* '''Attachment 2''' ''attach2 <target_destination>''
** The second entity involved in this pair.
* '''Start with collisions disabled''' ''startdisabled <choices>''
** If '''Yes''', starts with collisions between the pair disabled.  If '''No''', starts with collisions between the pair enabled.
* '''Name''' ''targetname <target_source>''
** The name that other entities refer to this entity by. Not available by default, but it can still be added in [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] mode and used by the [[Entity_I/O_-_How_to_hook_up_entity_inputs_and_outputs.|I/O system]].


* '''attach1'''
: <target_destination> The first entity involved in this pair.


===Inputs===
* '''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==
 
* {{i targetname}}


* '''EnableCollisions'''
* '''EnableCollisions'''
** Enable collisions between the first and second entity.
: Enable collisions between the first and second entity.
 
* '''DisableCollisions'''
* '''DisableCollisions'''
** Disable collisions between the first and second entity.
: Disable collisions between the first and second entity.
 
==Outputs==
* {{o targetname}}


[[Category:Entities]]
[[Category:Entities]]

Revision as of 20:34, 11 July 2005

Template:Wrongtitle

Entity Description

Entity Name: logic_collision_pair

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

Keyvalues

Not available by default, but it can still be added in SmartEdit mode and used by the I/O system.
  • 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.

Outputs