Make view bobbing more subtle
This commit is contained in:
parent
199dff5362
commit
1ac7413c1f
@ -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),
|
||||||
|
Reference in New Issue
Block a user