Entity systemClasses
CBuoyancyHelper
Schema class CBuoyancyHelper.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CBuoyancyHelper.h
Fields
| Field | Type |
|---|---|
m_pController | IPhysicsMotionController* |
m_nFluidType | CUtlStringToken |
m_flFluidDensity | float |
m_flNeutrallyBuoyantGravity | float |
m_flNeutrallyBuoyantLinearDamping | float |
m_flNeutrallyBuoyantAngularDamping | float |
m_bNeutrallyBuoyant | bool |
m_vecFractionOfWheelSubmergedForWheelFriction | CUtlVector<float> |
m_vecWheelFrictionScales | CUtlVector<float> |
m_vecFractionOfWheelSubmergedForWheelDrag | CUtlVector<float> |
m_vecWheelDrag | CUtlVector<float> |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).