CPhysMotor

From SigMod
Jump to navigation Jump to search

Overview[edit | edit source]

Tries to spin a physics object at a certain speed.

Source location : /game/server/phys_controller.cpp

Linked Entity : phys_motor

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysMotor
Name Type Description
InputSetTargetSpeed
InputTurnOff
InputTurnOn
m_additionalAcceleration
m_angularAcceleration
m_attachedObject
m_lastTime
m_motor
m_axis
m_inertiaFactor
m_lastAcceleration
m_lastForce
m_lastSpeed
m_maxTorque
m_restistanceDamping
m_speed
m_nameAttach
m_pController
m_pHinge
m_spinUp