CPhysMotor: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
...
This entity tries to spin a physics object at a certain speed.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/phys_controller.cpp /game/server/phys_controller.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/phys_controller.cpp /game/server/phys_controller.cpp]'''

Revision as of 20:23, 10 July 2022

Overview

This entity tries to spin a physics object at a certain speed.

Source location : /game/server/phys_controller.cpp

Linked Entity : phys_motor

Class Structure

Entity DataMaps

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