I have a game where rockets fly in the direction of the player if he shoots them they should disappear but I get an error every time the bullet hits the rocket
public void die()
{
if(isTouching(Bullet.class))
{
getWorld().removeObject(this);
}
}

