|
|
@ -214,7 +214,7 @@ public: |
|
|
|
plAnimatedMovementStrategy(plAGApplicator* rootApp, plPhysicalControllerCore* controller); |
|
|
|
plAnimatedMovementStrategy(plAGApplicator* rootApp, plPhysicalControllerCore* controller); |
|
|
|
virtual ~plAnimatedMovementStrategy() { } |
|
|
|
virtual ~plAnimatedMovementStrategy() { } |
|
|
|
|
|
|
|
|
|
|
|
void RecalcVelocity(double timeNow, float elapsed, bool useAnim = true); |
|
|
|
virtual void RecalcVelocity(double timeNow, float elapsed, bool useAnim = true); |
|
|
|
void SetTurnStrength(float val) { fTurnStr = val; } |
|
|
|
void SetTurnStrength(float val) { fTurnStr = val; } |
|
|
|
float GetTurnStrength() const { return fTurnStr; } |
|
|
|
float GetTurnStrength() const { return fTurnStr; } |
|
|
|
|
|
|
|
|
|
|
@ -240,6 +240,8 @@ public: |
|
|
|
virtual void AddContactNormals(hsVector3& vec); |
|
|
|
virtual void AddContactNormals(hsVector3& vec); |
|
|
|
virtual void Reset(bool newAge); |
|
|
|
virtual void Reset(bool newAge); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual void RecalcVelocity(double timeNow, float elapsed, bool useAnim = true); |
|
|
|
|
|
|
|
|
|
|
|
bool HitGroundInThisAge() const { return fHitGroundInThisAge; } |
|
|
|
bool HitGroundInThisAge() const { return fHitGroundInThisAge; } |
|
|
|
bool IsOnGround() const { return fTimeInAir < kAirTimeThreshold || fFalseGround; } |
|
|
|
bool IsOnGround() const { return fTimeInAir < kAirTimeThreshold || fFalseGround; } |
|
|
|
|
|
|
|
|
|
|
|