Make view bobbing more subtle

This commit is contained in:
Drew DeVault 2015-09-22 08:44:52 -04:00
parent 199dff5362
commit 1ac7413c1f

View File

@ -399,8 +399,8 @@ namespace TrueCraft.Client
private void UpdateCamera() private void UpdateCamera()
{ {
const double bobbingMultiplier = 0.025; const double bobbingMultiplier = 0.015;
var bobbing = Bobbing * 2; var bobbing = Bobbing * 1.5;
Camera.Position = new TrueCraft.API.Vector3( Camera.Position = new TrueCraft.API.Vector3(
Client.Position.X + Math.Cos(bobbing + Math.PI / 2) * bobbingMultiplier Client.Position.X + Math.Cos(bobbing + Math.PI / 2) * bobbingMultiplier
- (Client.Size.Width / 2), - (Client.Size.Width / 2),