CRagdollMagnet: 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/CRagdollMagnet.h /game/server/CRagdollMagnet.h]''' '''Li...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A physically simulated magnet for ragdolls.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/CRagdollMagnet.h /game/server/CRagdollMagnet.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/CRagdollMagnet.h /game/server/CRagdollMagnet.h]'''
Line 10: Line 10:
**'''[[CPointEntity]]'''
**'''[[CPointEntity]]'''
***'''CRagdollMagnet'''
***'''CRagdollMagnet'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CRagdollMagnet
! 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%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_axis'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_force'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_radius'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 03:17, 14 July 2022

Overview[edit | edit source]

A physically simulated magnet for ragdolls.

Source location : /game/server/CRagdollMagnet.h

Linked Entity : phys_ragdollmagnet

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CRagdollMagnet
Name Type Description
InputDisable
InputEnable
m_axis
m_bDisabled
m_force
m_radius