|
|
|
@ -84,7 +84,7 @@ void plPhysicsSoundMgr::Update()
|
|
|
|
|
fCurCollisions.clear(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void plPhysicsSoundMgr::IStartCollision(CollidePair& cp) |
|
|
|
|
void plPhysicsSoundMgr::IStartCollision(const CollidePair& cp) |
|
|
|
|
{ |
|
|
|
|
hsVector3 v1, v2; |
|
|
|
|
const hsScalar strengthThreshold = 20.0f; |
|
|
|
@ -120,7 +120,7 @@ void plPhysicsSoundMgr::IStartCollision(CollidePair& cp)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void plPhysicsSoundMgr::IStopCollision(CollidePair& cp) |
|
|
|
|
void plPhysicsSoundMgr::IStopCollision(const CollidePair& cp) |
|
|
|
|
{ |
|
|
|
|
plPhysical* physicalA = cp.FirstPhysical(); |
|
|
|
|
plPhysical* physicalB = cp.SecondPhysical(); |
|
|
|
@ -146,7 +146,7 @@ void plPhysicsSoundMgr::IStopCollision(CollidePair& cp)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void plPhysicsSoundMgr::IUpdateCollision(CollidePair& cp) |
|
|
|
|
void plPhysicsSoundMgr::IUpdateCollision(const CollidePair& cp) |
|
|
|
|
{ |
|
|
|
|
const hsScalar slideThreshhold = 0.f;
|
|
|
|
|
hsVector3 v1, v2; |
|
|
|
|