public SimCollisionPlaneMover(SimMover mover, SimPosition finalGoal, double finalDistance) : base(mover, finalGoal, finalDistance) { CollisionPlane MoverPlane = MoverPlaneZ; float startZ = (float)SimPathStore.CalcStartZ(mover.SimPosition.Z, finalGoal.SimPosition.Z); double diff = MoverPlane.MinZ - startZ; MoverPlane.MinZ = startZ; MoverPlane.MaxZ = startZ + 3; if (diff > .5 || diff < -0.5f) { MoverPlane.HeightMapNeedsUpdate = true; } }