public void ForceOutsideBox(Vector3D position, Vector3D velocity) {
		float padding = 0.01f;
		float midX = (left + right) / 2;
		float midY = (bottom + top) / 2;
		float midZ = (back + front) / 2;
		if (position.x > left && position.x < midX) {
			position.x = left - padding;
			if (velocity != null && velocity.x > 0)
				velocity.x *= -0.5;
		}
		if (position.x < right && position.x >= midX) {
			position.x = right + padding;
			if (velocity != null && velocity.x < 0)
				velocity.x *= -0.5;
		}
		/*
		 * if(position.y > bottom && position.y < midY){ position.y = bottom-
		 * padding; } if(position.y < top && position.y > midY){ position.y =
		 * top + padding; } if(position.z > back && position.z < midZ){
		 * position.z = back - padding; } if(position.z < front && position.z >
		 * midZ){ position.z = front + padding; }
		 */
	}