CPhysSlideConstraint: 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/physconstraint.cpp /game/server/physconstraint.cpp]''' '...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Constrains a physics object to a line of movement.


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


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
<span style='color: red;'>'''MANUAL REVIEW REQUIRED'''</span>
*'''[[CBaseEntity]]'''
**'''[[CServerOnlyEntity]]'''
***'''[[CLogicalEntity]]'''
****'''[[CPhysConstraint]]'''
*****'''CPhysSlideConstraint'''
 
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPhysSlideConstraint
! 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%;" |'''InputSetVelocity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_axisEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_slideFriction'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_systemLoadScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 15:32, 18 July 2022

Overview[edit | edit source]

Constrains a physics object to a line of movement.

Source location : /game/server/physconstraint.cpp

Linked Entity : phys_slideconstraint

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysSlideConstraint
Name Type Description
InputSetVelocity
m_axisEnd
m_slideFriction
m_systemLoadScale