CPhysBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
! style="width: 15%; background-color: #303030; color: white" |Type | ! style="width: 15%; background-color: #303030; color: white" |Type | ||
! style="width: 35%; background-color: #303030; color: white" |Description | ! style="width: 35%; background-color: #303030; color: white" |Description | ||
|- | |- | ||
| style="width: 50%;" |'''CPhysBoxBreakTouch''' | | style="width: 50%;" |'''CPhysBoxBreakTouch''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 67: | Line 51: | ||
|- | |- | ||
| style="width: 50%;" |'''InputForceDrop''' | | style="width: 50%;" |'''InputForceDrop''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 87: | Line 59: | ||
|- | |- | ||
| style="width: 50%;" |'''InputWake''' | | style="width: 50%;" |'''InputWake''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnAwakened''' | | style="width: 50%;" |'''m_OnAwakened''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnDamaged''' | | style="width: 50%;" |'''m_OnDamaged''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 143: | Line 91: | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnPlayerUse''' | | style="width: 50%;" |'''m_OnPlayerUse''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_angPreferredCarryAngles''' | | style="width: 50%;" |'''m_angPreferredCarryAngles''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_bNotSolidToWorld''' | | style="width: 50%;" |'''m_bNotSolidToWorld''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 171: | Line 107: | ||
|- | |- | ||
| style="width: 50%;" |'''m_damageType''' | | style="width: 50%;" |'''m_damageType''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_flForceToEnableMotion''' | | style="width: 50%;" |'''m_flForceToEnableMotion''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_hCarryingPlayer''' | | style="width: 50%;" |'''m_hCarryingPlayer''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_iszOverrideScript''' | | style="width: 50%;" |'''m_iszOverrideScript''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_massScale''' | | style="width: 50%;" |'''m_massScale''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} |
Revision as of 19:52, 24 March 2022
Overview
...
Source location : /game/server/physobj.h
Linked Entity : func_physbox
Class Structure
- CBaseEntity
- CBreakable
- CPhysBox
- CBreakable
SendProps
Name | Type | Description |
---|---|---|
m_iPhysicsMode | Boolean | |
m_fMass | Float |
Entity DataMaps
Name | Type | Description |
---|---|---|
CPhysBoxBreakTouch | ||
InputDisableFloating | ||
InputDisableMotion | ||
InputEnableMotion | ||
InputForceDrop | ||
InputSleep | ||
InputWake | ||
m_OnAwakened | ||
m_OnDamaged | ||
m_OnMotionEnabled | ||
m_OnPhysGunDrop | ||
m_OnPhysGunOnlyPickup | ||
m_OnPhysGunPickup | ||
m_OnPhysGunPunt | ||
m_OnPlayerUse | ||
m_angPreferredCarryAngles | ||
m_bNotSolidToWorld | ||
m_damageToEnableMotion | ||
m_damageType | ||
m_flForceToEnableMotion | ||
m_hCarryingPlayer | ||
m_iszOverrideScript | ||
m_massScale |