CPhysicsPropMultiplayer: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
An extension  of [[CPhysicsProp]] which helps mitigate prediction errors with collisions.


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


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/prop_physics_multiplayer prop_physics_multiplayer]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProp]]'''
****'''[[CBaseFlex]]'''
****'''[[CBreakableProp]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CPhysicsProp]]'''
******'''[[CBasePlayer]]'''
******'''CPhysicsPropMultiplayer'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CPhysicsPropMultiplayer  
|+CPhysicsPropMultiplayer  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 36: Line 35:
| style="width: 50%;" |'''m_collisionMaxs'''
| style="width: 50%;" |'''m_collisionMaxs'''
| style="width: 15%;" |Vector
| style="width: 15%;" |Vector
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPhysicsPropMultiplayer
! 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%;" |'''m_collisionMaxs'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_collisionMins'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fMass'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iPhysicsMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_usingCustomCollisionBounds'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 23:06, 10 August 2022

Overview[edit | edit source]

An extension of CPhysicsProp which helps mitigate prediction errors with collisions.

Source location : /game/server/props.cpp

Linked Entity : prop_physics_multiplayer

Class Structure[edit | edit source]

SendProps[edit | edit source]

CPhysicsPropMultiplayer
Name Type Description
m_iPhysicsMode Integer
m_fMass Float
m_collisionMins Vector
m_collisionMaxs Vector

Entity DataMaps[edit | edit source]

CPhysicsPropMultiplayer
Name Type Description
m_collisionMaxs
m_collisionMins
m_fMass
m_iPhysicsMode
m_usingCustomCollisionBounds