Improved submarine movement (buoyancy & drag), engine and "navigation terminal", new map, optimized levels (less vertices and physics bodies)

This commit is contained in:
Regalis
2015-06-29 02:00:27 +03:00
parent 9237a9efe2
commit 004608acd8
43 changed files with 1199 additions and 527 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ namespace Subsurface
{
float nextAngle = body.Rotation + body.AngularVelocity * (float)Physics.step;
float angle = ToolBox.GetShortestAngle(nextAngle, targetRotation);
float angle = MathUtils.GetShortestAngle(nextAngle, targetRotation);
float torque = body.Mass * angle * 60.0f * (force/100.0f);