CPhysConstraint: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
This entity forces two physics objects to keep their position relative to one another.
Forces two physics objects to keep their position relative to one another.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/physconstraint.h /game/server/physconstraint.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/physconstraint.h /game/server/physconstraint.h]'''

Revision as of 20:29, 10 July 2022

Overview

Forces two physics objects to keep their position relative to one another.

Source location : /game/server/physconstraint.h

Linked entity : phys_constraint

Class Structure

Entity DataMaps

CPhysConstraint
Name Type Description
InputBreak
InputOnBreak
InputTurnOff
InputTurnOn
m_OnBreak
m_breakSound
m_forceLimit
m_minTeleportDistance
m_nameAttach1
m_nameAttach2
m_nameSystem
m_pConstraint
m_torqueLimit