This article's documentation is for anything that uses the Source engine. Click here for more information.

func_clip_vphysics

From Valve Developer Community
Jump to: navigation, search
Toolsnodraw.gif
class hierarchy
CFuncVPhysicsClip defined in bmodels.cpp
CBaseEntity

func_clip_vphysics is a brush entity available in all Source 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.

Icon-Bug.pngBug:StartDisabled is a keyvalue in Hammer, but it is not present in the code. Use a logic_auto and the Disable input instead.
Code Fix: In 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


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Filter Name (filtername) <filter>
Filter to use to see if activator collides with this entity.

Inputs

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also