Entity systemClasses

CPhysConstraint

Schema class CPhysConstraint, derived from CLogicalEntity.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CPhysConstraint.h

Inherits CLogicalEntity

Fields

FieldType
m_hJointIPhysicsJoint*
m_nameAttach1CUtlSymbolLarge
m_nameAttach2CUtlSymbolLarge
m_hAttach1CHandle<CBaseEntity>
m_hAttach2CHandle<CBaseEntity>
m_nameAttachment1CUtlSymbolLarge
m_nameAttachment2CUtlSymbolLarge
m_breakSoundCGameSoundEventName
m_forceLimitfloat
m_torqueLimitfloat
m_minTeleportDistancefloat
m_bSnapObjectPositionsbool
m_bTreatEntity1AsInfiniteMassbool
m_OnBreakCEntityIOOutput

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page