Entity systemClasses

CPhysicsSpring

Schema class CPhysicsSpring, derived from CBaseEntity.

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

Inherits CBaseEntity

Fields

FieldType
m_pSpringJointIPhysicsJoint*
m_flFrequencyfloat
m_flDampingRatiofloat
m_flRestLengthfloat
m_nameAttachStartCUtlSymbolLarge
m_nameAttachEndCUtlSymbolLarge
m_startVector
m_endVector
m_teleportTickuint32_t

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