sup homies, i cant do a counter that changes when i get a person, help meeeeeee ta kidz
Actor pickedUpObject = getOneIntersectingObject(Actor.class);//or any other class;
if (pickedUpObject != null) {
getWorld().removeObject(pickedUpObject);
//the code for counting up the number of picked up objects;
}