CPhysForce: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
A generic base class which implements a force/motion controller.


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

Latest revision as of 20:15, 10 July 2022

Overview[edit | edit source]

A generic base class which implements a force/motion controller.

Source location : /game/server/phys_controller.cpp

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysForce
Name Type Description
CPhysForceForceOff
InputActivate
InputDeactivate
InputForceScale
m_attachedObject
m_force
m_forceTime
m_integrator
m_angular
m_angularSave
m_controlType
m_linear
m_linearSave
m_nameAttach
m_pController