I wanted to make myself a command for removing objects but it seems that my function doesn't work..
if( getOneIntersectingObject() == Hero.class) { getWorld.removeObject(Hero.class); getWorld.removeObject(this); }