Entity systemClasses
CGenericConstraint
Schema class CGenericConstraint, derived from CPhysConstraint.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CGenericConstraint.h
Inherits CPhysConstraint
Fields
| Field | Type |
|---|---|
m_bPlaceAnchorsAtConstraintTransform | bool |
m_nLinearMotionX | JointMotion_t |
m_nLinearMotionY | JointMotion_t |
m_nLinearMotionZ | JointMotion_t |
m_flLinearFrequencyX | float |
m_flLinearFrequencyY | float |
m_flLinearFrequencyZ | float |
m_flLinearDampingRatioX | float |
m_flLinearDampingRatioY | float |
m_flLinearDampingRatioZ | float |
m_flMaxLinearImpulseX | float |
m_flMaxLinearImpulseY | float |
m_flMaxLinearImpulseZ | float |
m_flBreakAfterTimeX | float |
m_flBreakAfterTimeY | float |
m_flBreakAfterTimeZ | float |
m_flBreakAfterTimeStartTimeX | float |
m_flBreakAfterTimeStartTimeY | float |
m_flBreakAfterTimeStartTimeZ | float |
m_flBreakAfterTimeThresholdX | float |
m_flBreakAfterTimeThresholdY | float |
m_flBreakAfterTimeThresholdZ | float |
m_flNotifyForceX | float |
m_flNotifyForceY | float |
m_flNotifyForceZ | float |
m_flNotifyForceMinTimeX | float |
m_flNotifyForceMinTimeY | float |
m_flNotifyForceMinTimeZ | float |
m_flNotifyForceLastTimeX | float |
m_flNotifyForceLastTimeY | float |
m_flNotifyForceLastTimeZ | float |
m_bAxisNotifiedX | bool |
m_bAxisNotifiedY | bool |
m_bAxisNotifiedZ | bool |
m_nAngularMotionX | JointMotion_t |
m_nAngularMotionY | JointMotion_t |
m_nAngularMotionZ | JointMotion_t |
m_flAngularFrequencyX | float |
m_flAngularFrequencyY | float |
m_flAngularFrequencyZ | float |
m_flAngularDampingRatioX | float |
m_flAngularDampingRatioY | float |
m_flAngularDampingRatioZ | float |
m_flMaxAngularImpulseX | float |
m_flMaxAngularImpulseY | float |
m_flMaxAngularImpulseZ | float |
m_NotifyForceReachedX | CEntityIOOutput |
m_NotifyForceReachedY | CEntityIOOutput |
m_NotifyForceReachedZ | CEntityIOOutput |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).