float y = PlayerControl.getMouseDY() * mouseSensitivity;
float x = -PlayerControl.getMouseDX() * mouseSensitivity;
PlayerControl.centerMouse();
Matrix4x4 m = Matrix4x4.identity();
m = m.rotateY(x);
m = m.rotate(internalView.right(), y);
internalView.forward = m.transformVector(internalView.forward);
Matrix4x4 m2 = transform.getMdlMatrix();
view.up = m2.transformVector(internalView.up);
view.setForward(m2.transformVector(internalView.forward));
view.position = transform.position.plus(view.forward.times(-20.0f));
Vector3 engineDir1 = new Vector3(0, internalView.forward.y, internalView.forward.z);
Vector3 engineDir2 = new Vector3(0, -internalView.forward.y, internalView.forward.z);