CPhysHinge: 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 hinge. The associated physics object will rotate along a specific axis defined by this entity.


'''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]'''

Latest revision as of 03:04, 14 July 2022

Overview[edit | edit source]

A physically simulated hinge. The associated physics object will rotate along a specific axis defined by this entity.

Source location : /game/server/physconstraint.cpp

Linked Entity : phys_hinge

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysHinge
Name Type Description
InputSetHingeFriction
InputSetVelocity
m_hinge.worldAxisDirection
m_hinge.worldPosition
m_hingeFriction
m_systemLoadScale