CPhysicsSpring: Difference between revisions

From SigMod
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/physobj.cpp /game/server/physobj.cpp]''' '''Linked Entit...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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]'''
Line 9: Line 9:
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''CPhysicsSpring'''
**'''CPhysicsSpring'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPhysicsSpring
! 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%;" |'''InputSetSpringConstant'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetSpringDamping'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetSpringLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_end'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_isLocal'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nameAttachEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nameAttachStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pSpring'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_start'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_tempConstant'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_tempDamping'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_tempLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_tempRelativeDamping'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

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