Hi
Can someone help me with my function.
It starts in a ball collision any side of other ball.
It is supposed to count all the colliding actors that have the same colour using a function.
Then for each colliding actor that is a ball it counts the next lot of colliding actors and so on.
To prevent it getting locked in a loop of checks there is a variable called checked which is set to 1 each time it runs through the check
At the very end is another function that resets all the balls checked value to 0.
I have put some debug text in to see what is being counted and it never gives the correct number