fix angular braking (#18207)
This commit is contained in:
@@ -414,7 +414,7 @@ namespace Content.Server.Physics.Controllers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
torque = MathF.Max(body.AngularVelocity / torqueMul, torque);
|
torque = MathF.Min(-body.AngularVelocity / torqueMul, torque);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!torque.Equals(0f))
|
if (!torque.Equals(0f))
|
||||||
|
|||||||
Reference in New Issue
Block a user