CPhysConstraint: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
This entity forces two physics objects to keep their position relative to one another.
A base class for entities which constrain physics objects together.


'''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]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/Phys_constraint phys_constraint]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==

Latest revision as of 03:00, 14 July 2022

Overview[edit | edit source]

A base class for entities which constrain physics objects together.

Source location : /game/server/physconstraint.h

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

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