Func clip vphysics: Difference between revisions
Jump to navigation
Jump to search
Bug:
No edit summary |
(-nodrawi icon) |
||
Line 1: | Line 1: | ||
[[File:Toolsnodraw.gif|left]] | |||
{{CD|CFuncVPhysicsClip|file1=bmodels.cpp}} | {{CD|CFuncVPhysicsClip|file1=bmodels.cpp}} | ||
{{entity|func_clip_vphysics|type=e2}} It is considered solid to [[VPhysics]] objects (such as a {{ent|prop_physics}}). [[QPhysics]] objects (such as {{ent|player}}s) can pass freely. It can also use a filter to only collide with specific objects. | {{entity|func_clip_vphysics|type=e2}} It is considered solid to [[VPhysics]] objects (such as a {{ent|prop_physics}}). [[QPhysics]] objects (such as {{ent|player}}s) can pass freely. It can also use a filter to only collide with specific objects. | ||
Line 4: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Filter Name|intn=filtername|filterclass|[[Filter]] to use to see if activator collides with this entity.}} | {{KV|Filter Name|intn=filtername|filterclass|[[Filter]] to use to see if activator collides with this entity.}} | ||
==Inputs== | ==Inputs== |
Revision as of 15:31, 2 September 2023
![]() |
---|
CFuncVPhysicsClip |
![]() |
Template:Entity It is considered solid to VPhysics objects (such as a prop_physics). QPhysics objects (such as players) can pass freely. It can also use a filter to only collide with specific objects.

StartDisabled
is a keyvalue in Hammer, but it is not present in the code. Use a logic_auto and the Disable
input instead. [todo tested in ?]Code Fix:In
bmodels.cpp
, findBEGIN_DATADESC( CFuncVPhysicsClip )
and replaceDEFINE_FIELD( m_bDisabled, FIELD_BOOLEAN )
withDEFINE_KEYFIELD( m_bDisabled, FIELD_BOOLEAN, "StartDisabled" )
. No changes to the FGDs or existing maps are required.
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
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.