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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user