public void SetupCamera() { camera_ = new CarCamera(20f, 0.02f, MathHelper.PiOver4 / 2, 1.33f, 0.1f, 1000f, new Vector3(0f, 10f, 10f), Vector3.Zero, Vector3.Up); cameraState_.AddLast(CameraState.TopDown); cameraState_.AddLast(CameraState.Dynamic); cameraState_.AddLast(CameraState.Reverse); cameraState_.AddLast(CameraState.Chase); }
public void SetupCamera() { camera_ = new CarCamera(20f, 0.02f, MathHelper.PiOver4 / 2, 1.33f, 0.1f, 1000f, new Vector3(0f, 10f, 10f), Vector3.Zero, Vector3.Up); cameraState_.AddLast(CameraState.TopDown); cameraState_.AddLast(CameraState.Dynamic); cameraState_.AddLast(CameraState.Reverse); cameraState_.AddLast(CameraState.Chase); }