Browse Source

revert me

physx
nillerusr 1 year ago
parent
commit
b95472df79
  1. 4
      game/server/player.cpp
  2. 2
      wscript

4
game/server/player.cpp

@ -8032,11 +8032,11 @@ void CBasePlayer::SetupVPhysicsShadow( const Vector &vecAbsOrigin, const Vector @@ -8032,11 +8032,11 @@ void CBasePlayer::SetupVPhysicsShadow( const Vector &vecAbsOrigin, const Vector
solid.params.dragCoefficient = 0;
// create standing hull
m_pShadowStand = PhysModelCreateCustom( this, pStandModel, GetLocalOrigin(), GetLocalAngles(), pStandHullName, false, &solid );
m_pShadowStand->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// m_pShadowStand->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// create crouchig hull
m_pShadowCrouch = PhysModelCreateCustom( this, pCrouchModel, GetLocalOrigin(), GetLocalAngles(), pCrouchHullName, false, &solid );
m_pShadowCrouch->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// m_pShadowCrouch->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// default to stand
VPhysicsSetObject( m_pShadowStand );

2
wscript

@ -72,7 +72,7 @@ projects={ @@ -72,7 +72,7 @@ projects={
'vgui2/vgui_surfacelib',
'vguimatsurface',
'video',
'vphysics',
'vphysics-physx',
'vpklib',
'vstdlib',
'vtf',

Loading…
Cancel
Save