CPhysicsProp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
=== Think function ===
=== Think function ===
{{DEFINE_FIELD|FIELD_VOID|ClearFlagsThink}} <!-- DEFINE_THINKFUNC -->
{{DEFINE_FIELD|FIELD_VOID|ClearFlagsThink}} <!-- DEFINE_THINKFUNC -->
== See Also ==
* [[CDynamicProp]]

Revision as of 09:25, 20 September 2024

C++ Class hierarchy
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
C++ props.cpp

Entities linked to this class

Fields

m_bThrownByPlayer <FIELD_BOOLEAN>

m_bFirstCollisionAfterLaunch <FIELD_BOOLEAN>

m_bAwake <FIELD_BOOLEAN>


Keyfields

m_massScale <FIELD_FLOAT> (massscale)

m_inertiaScale <FIELD_FLOAT> (inertiascale)

m_damageType <FIELD_INTEGER> (Damagetype)

m_iszOverrideScript <FIELD_STRING> (overridescript)

m_damageToEnableMotion <FIELD_INTEGER> (damagetoenablemotion)

m_flForceToEnableMotion <FIELD_FLOAT> (forcetoenablemotion)


Input functions

EnableMotion <FIELD_VOID> linked function: InputEnableMotion

description todo

DisableMotion <FIELD_VOID> linked function: InputDisableMotion

description todo

Wake <FIELD_VOID> linked function: InputWake

description todo

Sleep <FIELD_VOID> linked function: InputSleep

description todo

DisableFloating <FIELD_VOID> linked function: InputDisableFloating

description todo


Think function

FIELD_VOID <ClearFlagsThink>


See Also