CPhysicsPropMultiplayer: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | |||
An extension of [[CPhysicsProp]] which helps mitigate prediction errors with collisions. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/props.cpp /game/server/props.cpp]''' | |||
'''Linked Entity : [https://developer.valvesoftware.com/wiki/prop_physics_multiplayer prop_physics_multiplayer]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CBaseAnimating]]''' | |||
***'''[[CBaseProp]]''' | |||
****'''[[CBreakableProp]]''' | |||
*****'''[[CPhysicsProp]]''' | |||
******'''CPhysicsPropMultiplayer''' | |||
== SendProps == | |||
{| 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_iPhysicsMode''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fMass''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_collisionMins''' | |||
| style="width: 15%;" |Vector | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_collisionMaxs''' | |||
| 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%;" | | |||
|} |
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]
- CBaseEntity
- CBaseAnimating
- CBaseProp
- CBreakableProp
- CPhysicsProp
- CPhysicsPropMultiplayer
- CPhysicsProp
- CBreakableProp
- CBaseProp
- CBaseAnimating
SendProps[edit | edit source]
Name | Type | Description |
---|---|---|
m_iPhysicsMode | Integer | |
m_fMass | Float | |
m_collisionMins | Vector | |
m_collisionMaxs | Vector |
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
m_collisionMaxs | ||
m_collisionMins | ||
m_fMass | ||
m_iPhysicsMode | ||
m_usingCustomCollisionBounds |