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
| Field | Type |
|---|---|
m_hJoint | IPhysicsJoint* |
m_nameAttach1 | CUtlSymbolLarge |
m_nameAttach2 | CUtlSymbolLarge |
m_hAttach1 | CHandle<CBaseEntity> |
m_hAttach2 | CHandle<CBaseEntity> |
m_nameAttachment1 | CUtlSymbolLarge |
m_nameAttachment2 | CUtlSymbolLarge |
m_breakSound | CGameSoundEventName |
m_forceLimit | float |
m_torqueLimit | float |
m_minTeleportDistance | float |
m_bSnapObjectPositions | bool |
m_bTreatEntity1AsInfiniteMass | bool |
m_OnBreak | CEntityIOOutput |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).