Submarine rendering to correct position almost ready, fixed camera position "twitching"

This commit is contained in:
Regalis
2015-12-04 17:21:59 +02:00
parent 242af12f14
commit 09588e548d
8 changed files with 36 additions and 22 deletions
+1 -2
View File
@@ -443,7 +443,7 @@ namespace Barotrauma
}
}
AnimController.FindHull();
AnimController.FindHull(false);
CharacterList.Add(this);
@@ -755,7 +755,6 @@ namespace Barotrauma
if (moveCam)
{
cam.TargetPos = WorldPosition;
cam.OffsetAmount = MathHelper.Lerp(cam.OffsetAmount, 250.0f, 0.05f);
}