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

FieldType
m_nameAttachCUtlSymbolLarge
m_nameAnchorCUtlSymbolLarge
m_hAttachedObjectCHandle<CBaseEntity>
m_hAnchorObjectCHandle<CBaseEntity>
m_spinUpfloat
m_spinDownfloat
m_flMotorFrictionfloat
m_additionalAccelerationfloat
m_angularAccelerationfloat
m_flTorqueScalefloat
m_flTargetSpeedfloat
m_flSpeedWhenSpinUpOrSpinDownStartedfloat
m_pFixedWorldBodyIPhysicsBody*
m_pMotorJointIPhysicsJoint*
m_motorCMotorController

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