OK. So in my game I have a marble that every so often will change to a new color. If the color it changes to is the same color as 2 other marbles and they each touch then it makes a match. Pretty straight forward, as I placed the match making formula in a custom contact listener class.
However, I've noticed that say 3 marbles are touching and the middle one is a color changing marble and it just so happens to change to their color, it doesn't always make a match because a "new" contact was never made, therefore my begin/end contact functions are never called thus resulting in glitchy mannerisms. What can I do to correct this issue? Any way I can create a "new" contact? Any ideas or thoughts would be greatly appreciated 🙂
However, I've noticed that say 3 marbles are touching and the middle one is a color changing marble and it just so happens to change to their color, it doesn't always make a match because a "new" contact was never made, therefore my begin/end contact functions are never called thus resulting in glitchy mannerisms. What can I do to correct this issue? Any way I can create a "new" contact? Any ideas or thoughts would be greatly appreciated 🙂