|
|
@ -50,7 +50,7 @@ public: |
|
|
|
#endif // PLASMA_EXTERNAL_RELEASE
|
|
|
|
#endif // PLASMA_EXTERNAL_RELEASE
|
|
|
|
class plPXPhysicalControllerCore: public plPhysicalControllerCore |
|
|
|
class plPXPhysicalControllerCore: public plPhysicalControllerCore |
|
|
|
{ |
|
|
|
{ |
|
|
|
friend PXControllerHitReportWalk; |
|
|
|
friend class PXControllerHitReportWalk; |
|
|
|
public: |
|
|
|
public: |
|
|
|
plPXPhysicalControllerCore(plKey ownerSO, hsScalar height, hsScalar radius); |
|
|
|
plPXPhysicalControllerCore(plKey ownerSO, hsScalar height, hsScalar radius); |
|
|
|
~plPXPhysicalControllerCore(); |
|
|
|
~plPXPhysicalControllerCore(); |
|
|
@ -104,7 +104,7 @@ public: |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
static hsBool fDebugDisplay; |
|
|
|
static hsBool fDebugDisplay; |
|
|
|
#endif // PLASMA_EXTERNAL_RELEASE
|
|
|
|
#endif // PLASMA_EXTERNAL_RELEASE
|
|
|
|
static void plPXPhysicalControllerCore::SetMaxNumberOfControllers(int max) { fPXControllersMax = max; } |
|
|
|
static void SetMaxNumberOfControllers(int max) { fPXControllersMax = max; } |
|
|
|
static int fPXControllersMax; |
|
|
|
static int fPXControllersMax; |
|
|
|
virtual int SweepControllerPath(const hsPoint3& startPos, const hsPoint3& endPos, hsBool vsDynamics, hsBool vsStatics, UInt32& vsSimGroups, std::multiset< plControllerSweepRecord >& WhatWasHitOut); |
|
|
|
virtual int SweepControllerPath(const hsPoint3& startPos, const hsPoint3& endPos, hsBool vsDynamics, hsBool vsStatics, UInt32& vsSimGroups, std::multiset< plControllerSweepRecord >& WhatWasHitOut); |
|
|
|
virtual void BehaveLikeAnimatedPhysical(hsBool actLikeAnAnimatedPhys); |
|
|
|
virtual void BehaveLikeAnimatedPhysical(hsBool actLikeAnAnimatedPhys); |
|
|
@ -127,14 +127,14 @@ protected: |
|
|
|
void ICreateController(); |
|
|
|
void ICreateController(); |
|
|
|
void IDeleteController(); |
|
|
|
void IDeleteController(); |
|
|
|
void IInformDetectors(bool entering,bool deferUntilNextSim); |
|
|
|
void IInformDetectors(bool entering,bool deferUntilNextSim); |
|
|
|
void plPXPhysicalControllerCore::ICreateController(const hsPoint3& pos); |
|
|
|
void ICreateController(const hsPoint3& pos); |
|
|
|
NxActor* fKinematicActor; |
|
|
|
NxActor* fKinematicActor; |
|
|
|
NxCapsuleController* fController; |
|
|
|
NxCapsuleController* fController; |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
hsTArray<plDbgCollisionInfo> fDbgCollisionInfo; |
|
|
|
hsTArray<plDbgCollisionInfo> fDbgCollisionInfo; |
|
|
|
void IDrawDebugDisplay(); |
|
|
|
void IDrawDebugDisplay(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
void plPXPhysicalControllerCore::IHandleResize(); |
|
|
|
void IHandleResize(); |
|
|
|
hsTArray<plCollideMsg*> fQueuedCollideMsgs; |
|
|
|
hsTArray<plCollideMsg*> fQueuedCollideMsgs; |
|
|
|
hsScalar fPreferedRadius; |
|
|
|
hsScalar fPreferedRadius; |
|
|
|
hsScalar fPreferedHeight; |
|
|
|
hsScalar fPreferedHeight; |
|
|
|