func_clip_vphysics
Jump to navigation
Jump to search
Note:Any normal material can be used on this entity's brush faces; a material with
Bug*:
| CFuncVPhysicsClip |
func_clip_vphysics is a brush entity available in all
Source games. 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.
In simple terms, it's an invisible wall that blocks objects but not players.
%CompileNoDraw and/or %CompileTrigger is recommended. Vphysics clip brushes are not drawn with r_drawclipbrushes or showtriggers_toggle.StartDisabled is a keyvalue in Hammer, but it is not present in the code. Use a logic_auto and the Disable input instead.
bmodels.cpp, find BEGIN_DATADESC( CFuncVPhysicsClip ) and replace DEFINE_FIELD( m_bDisabled, FIELD_BOOLEAN ) with DEFINE_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.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Enable
- Enable collision
- Disable
- Disable collision
