mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 12:19:10 +00:00
Fix landing behaviors
This commit is contained in:
@ -133,8 +133,10 @@ void plWalkingController::RecalcVelocity(double timeNow, double timePrev, hsBool
|
||||
|
||||
if (fController && !fWalkingStrategy->IsOnGround())
|
||||
{
|
||||
// PhysX Hack
|
||||
// LinearVelocity is always (0,0,0) outside the PhysController
|
||||
fImpactTime = fWalkingStrategy->GetAirTime();
|
||||
fImpactVelocity = fController->GetLinearVelocity();
|
||||
fImpactVelocity = fController->GetAchievedLinearVelocity();
|
||||
fClearImpact = false;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user