I'm making a simple game, not a million miles away from the Remove on Collision example provided with the Fisica library but I'm having trouble setting up detection for different collisions.
Basically, I have a slider at the bottom of the screen (myFBox) and I want it to put the score up when it catches a falling ball (myFCircle), which has gone fine but I also wanted to use another ball (myFCircle2) that, when caught, puts the score down. How do I differentiate between the two types of object that the FBox might collide with?
I've also tried to figure out how to use group indexes to differentiate between the two groups but have no idea about the syntax and can't find any examples outside of the fisica reference... which I don't understand.