2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Clear achieved linear velocity on disabled avatars.

This commit is contained in:
Skoader
2012-12-01 23:11:03 -05:00
committed by Adam Johnson
parent e29e908333
commit a1814c9dca

View File

@ -172,6 +172,8 @@ void plPhysicalControllerCore::IUpdate(int numSubSteps, float alpha)
} }
else else
{ {
fAchievedLinearVelocity.Set(0.0f, 0.0f, 0.0f);
// Update global location if in a subworld // Update global location if in a subworld
const plCoordinateInterface* subworldCI = GetSubworldCI(); const plCoordinateInterface* subworldCI = GetSubworldCI();
if (subworldCI) if (subworldCI)