public void logic() {

		if (trackSprite != null) {
			trackingx = trackSprite.getX();
			trackingy = trackSprite.getY();
		}

		speedx += (trackingx - viewx) * floatiness;
		speedy += (trackingy - viewy) * floatiness;

		speedx = speedx * .94f;
		speedy = speedy * .94f;

		viewx += speedx;
		viewy += speedy;

	}