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
| Field | Type |
|---|---|
m_pSpringJoint | IPhysicsJoint* |
m_flFrequency | float |
m_flDampingRatio | float |
m_flRestLength | float |
m_nameAttachStart | CUtlSymbolLarge |
m_nameAttachEnd | CUtlSymbolLarge |
m_start | Vector |
m_end | Vector |
m_teleportTick | uint32_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).