So I'm making a game where you have a rock shooting cannon and you hit birds with rocks.
-Once a rock hits a bird, it's physics are enabled and it falls
-Once a bird hits a bird, it's physics are also enabled which will be what triggers combos
-The birds fly across the screen at random Y locations
Problem:
Before I hit a bird with a rock and 2 birds collide, they will both fall. I only want a bird to effect another bird after it has been hit with a rock.
I've tried fixing this by giving a private variable to a bird, making it true once a rock hits it, and checks if the bird is being hit by another bird with the property as true, but to check a private variable of an object only checks it's own private variable, not the private variable of another object.
I hope that makes sense, I'm really lost here. I'll upload the .cap if anyone needs it.