Ok, weird issue. I have an object, a box, with physics behaviour, and then a solid ground. I want to play a sound when the box hits the ground. I used "on colission" and it works. So far, so good.
But I have this code that says that one my character gets close to the box, it changes color by changing the animation frame to another one. Well, one this change happens, the sound kicks in for some reason. Both frames are exactly the same size, with bounding box as colission mask and the same Origin image point.
I could understand that it recognizes a new colission when the colission mask is different from the previous frame, but it's not the case, and it's driving me crazy XD
Thanks in advance for any help.