Source2Toolkit
SchemaEntityClasses

CPhysMotor

CPhysMotor

Inheritance: CLogicalEntity

Fields

  • 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

Methods

CPhysMotor* New(className)

Parameters
  • className const char*

CPhysMotor* FromIndex(iIndex)

Parameters
  • iIndex int

CPhysMotor* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CPhysMotor> GetHandle()

On this page