CKeepUpright: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Attempts to keep another entity facing a certain direction.


'''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]'''

Latest revision as of 20:31, 10 July 2022

Overview[edit | edit source]

Attempts to keep another entity facing a certain direction.

Source location : /game/server/phys_controller.cpp

Linked Entity : phys_keepupright

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CKeepUpright
Name Type Description
InputSetAngularLimit
InputTurnOff
InputTurnOn
m_angularLimit
m_attachedObject
m_bActive
m_bDampAllRotation
m_localTestAxis
m_nameAttach
m_pController
m_worldGoalAxis