new hitbox function + work on planet generation