CPhysMotor: Difference between revisions
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
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CPhysMotor
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps
| Name | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| InputSetTargetSpeed | |||||||||||||||||||||||||||||
| InputTurnOff | |||||||||||||||||||||||||||||
| InputTurnOn | |||||||||||||||||||||||||||||
| m_additionalAcceleration | |||||||||||||||||||||||||||||
| m_angularAcceleration | |||||||||||||||||||||||||||||
| m_attachedObject | |||||||||||||||||||||||||||||
| m_lastTime | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| m_nameAttach | |||||||||||||||||||||||||||||
| m_pController | |||||||||||||||||||||||||||||
| m_pHinge | |||||||||||||||||||||||||||||
| m_spinUp | |||||||||||||||||||||||||||||