mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 20:29:10 +00:00
Fix controlled flight bug
fControlledFlight state should be handled outside of the physics step.
This commit is contained in:
@ -214,7 +214,7 @@ public:
|
||||
plAnimatedMovementStrategy(plAGApplicator* rootApp, plPhysicalControllerCore* controller);
|
||||
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; }
|
||||
float GetTurnStrength() const { return fTurnStr; }
|
||||
|
||||
@ -240,6 +240,8 @@ public:
|
||||
virtual void AddContactNormals(hsVector3& vec);
|
||||
virtual void Reset(bool newAge);
|
||||
|
||||
virtual void RecalcVelocity(double timeNow, float elapsed, bool useAnim = true);
|
||||
|
||||
bool HitGroundInThisAge() const { return fHitGroundInThisAge; }
|
||||
bool IsOnGround() const { return fTimeInAir < kAirTimeThreshold || fFalseGround; }
|
||||
|
||||
|
Reference in New Issue
Block a user