Hey everyone,
I've created a TGA file containing an image of a giant puddle of water. I placed this TGA in my level and assigned an action to it. Basically, the action detects collision with another entity--a ball entity.
When the ball is thrown, it normally bounces on the ground. When the ball collides with the puddle, it makes a splash sound, using event_impact. This all works perfectly.
The problem I'm having - and I'm not sure a solution is even possible - is this: the puddle is round, but obviously the image file is square. So, when the ball hits the edges of the TGA image, it makes a splash sound, even though there is no water along the edges of the file. The image below explains what I mean.
Is it possible to somehow detect if the ball is only hitting a non-transparent portion of the TGA? My guess is no, it isn't possible, but it doesn't hurt to ask!
