2
3
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:
Skoader
2012-12-01 23:05:19 -05:00
committed by Adam Johnson
parent 01d47450e6
commit ae594dcc81

View File

@ -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;