CKeepUpright: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/phys_controller.cpp /game/server/phys_controller.cpp]'''...") |
No edit summary |
||
(2 intermediate revisions 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]''' | ||
Line 10: | Line 10: | ||
**'''[[CPointEntity]]''' | **'''[[CPointEntity]]''' | ||
***'''CKeepUpright''' | ***'''CKeepUpright''' | ||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CKeepUpright | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
| style="width: 50%;" |'''InputSetAngularLimit''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputTurnOff''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputTurnOn''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_angularLimit''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_attachedObject''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bActive''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bDampAllRotation''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_localTestAxis''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nameAttach''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_pController''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_worldGoalAxis''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
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]
- CBaseEntity
- CPointEntity
- CKeepUpright
- CPointEntity
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
InputSetAngularLimit | ||
InputTurnOff | ||
InputTurnOn | ||
m_angularLimit | ||
m_attachedObject | ||
m_bActive | ||
m_bDampAllRotation | ||
m_localTestAxis | ||
m_nameAttach | ||
m_pController | ||
m_worldGoalAxis |