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