mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Clear linear velocity after each update.
This commit is contained in:
@ -502,6 +502,9 @@ void plWalkingStrategy::Update(float delSecs)
|
||||
}
|
||||
}
|
||||
|
||||
hsVector3 zeroVelocity(0.f, 0.f, 0.f);
|
||||
fController->SetLinearVelocity(zeroVelocity);
|
||||
|
||||
if (!fHitGroundInThisAge && IsOnGround())
|
||||
fHitGroundInThisAge = true;
|
||||
|
||||
|
Reference in New Issue
Block a user