Hii.~ So, in my game 'Big fish Small fish', the hit boxes for the different fish are too large, and the two objects don't even touch before removing the User. Is there another way to make the fish eat each other?
This is my eating code
public boolean canSee(Class clss) { Actor actor = getOneIntersectingObject(clss); return actor != null; } /** * Removes the object if they intersect */ public void eat(Class clss) { Actor actor = getOneIntersectingObject(clss); if(actor != null) { getWorld().removeObject(actor); } }