CPhysicsSpring: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
A physically simulated spring.


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

Latest revision as of 20:12, 10 July 2022

Overview[edit | edit source]

A physically simulated spring.

Source location : /game/server/physobj.cpp

Linked Entity : phys_spring

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysicsSpring
Name Type Description
InputSetSpringConstant
InputSetSpringDamping
InputSetSpringLength
m_end
m_isLocal
m_nameAttachEnd
m_nameAttachStart
m_pSpring
m_start
m_tempConstant
m_tempDamping
m_tempLength
m_tempRelativeDamping