Reverted last change due to render issues, need to implement max rotation for renders

This commit is contained in:
Robert S 2014-04-10 01:54:42 -04:00
parent 5598571f42
commit c436ee2dfb

View file

@ -117,7 +117,7 @@ public class TileMechanicalTurbine extends TileTurbineBase implements INodeProvi
if (mechanicalNode.angularVelocity < 0)
angularVelocity = -Math.abs(angularVelocity);
mechanicalNode.apply((torque - mechanicalNode.getTorque()) * 10, (angularVelocity - mechanicalNode.getAngularVelocity()) * 10);
mechanicalNode.apply((torque - mechanicalNode.getTorque()) / 10, (angularVelocity - mechanicalNode.getAngularVelocity()) / 10);
}
}