Fix pointer facing

This commit is contained in:
metalgearsloth
2021-11-02 16:33:27 +11:00
parent a27c1d9bd9
commit 16c31ade0f

View File

@@ -119,7 +119,7 @@ namespace Content.Server.Pointing.EntitySystems
var diff = mapCoords.Position - player.Transform.MapPosition.Position;
if (diff.LengthSquared > 0.01f)
{
player.Transform.LocalRotation = new Angle(diff);
player.Transform.WorldRotation = Angle.FromWorldVec(diff);
}
}