Entity systemClasses
CPhysMotor
Schema class CPhysMotor, derived from CLogicalEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CPhysMotor.h
Inherits CLogicalEntity
Fields
| Field | Type |
|---|---|
m_nameAttach | CUtlSymbolLarge |
m_nameAnchor | CUtlSymbolLarge |
m_hAttachedObject | CHandle<CBaseEntity> |
m_hAnchorObject | CHandle<CBaseEntity> |
m_spinUp | float |
m_spinDown | float |
m_flMotorFriction | float |
m_additionalAcceleration | float |
m_angularAcceleration | float |
m_flTorqueScale | float |
m_flTargetSpeed | float |
m_flSpeedWhenSpinUpOrSpinDownStarted | float |
m_pFixedWorldBody | IPhysicsBody* |
m_pMotorJoint | IPhysicsJoint* |
m_motor | CMotorController |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).