Entity systemClasses
CPhysHinge
Schema class CPhysHinge, derived from CPhysConstraint.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CPhysHinge.h
Inherits CPhysConstraint
Fields
| Field | Type |
|---|---|
m_soundInfo | ConstraintSoundInfo |
m_NotifyMinLimitReached | CEntityIOOutput |
m_NotifyMaxLimitReached | CEntityIOOutput |
m_bAtMinLimit | bool |
m_bAtMaxLimit | bool |
m_hinge | constraint_hingeparams_t |
m_hingeFriction | float |
m_systemLoadScale | float |
m_bIsAxisLocal | bool |
m_flMinRotation | float |
m_flMaxRotation | float |
m_flInitialRotation | float |
m_flMotorFrequency | float |
m_flMotorDampingRatio | float |
m_flAngleSpeed | float |
m_flAngleSpeedThreshold | float |
m_flLimitsDebugVisRotation | float |
m_OnStartMoving | CEntityIOOutput |
m_OnStopMoving | CEntityIOOutput |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).