1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Clear linear velocity after each update.

This commit is contained in:
Skoader
2012-10-26 18:03:40 +11:00
parent d02cde1703
commit 860b071bb2

View File

@ -501,6 +501,9 @@ void plWalkingStrategy::Update(hsScalar delSecs)
}
}
hsVector3 zeroVelocity(0.f, 0.f, 0.f);
fController->SetLinearVelocity(zeroVelocity);
if (!fHitGroundInThisAge && IsOnGround())
fHitGroundInThisAge = true;