private void playerChecker() {
		CollisionResults results = new CollisionResults();
		Vector3f ppos = playerData.getPosition();
		Vector3f pdir = playerData.getDirection();
		Ray ray = new Ray(ppos, pdir);
		rootNode.collideWith(ray, results);
		for (int i = 0; i < results.size(); i++) {
			float dist = results.getCollision(i).getDistance();
			if (dist < 2) {

				Geometry target = results.getClosestCollision().getGeometry();
				if (target.getName().equals("Beam")
						|| target.getName().equals("warzone")
						|| target.getName().equals("shipA_OBJ-geom-0")) {
					break;
				}
				System.out.println(target);
				playerData.setPosition(new Vector3f(0, 0, 0));
			}

		}
	}