
I have a ball that I want to bounce along a surface. This works great most of time, but I do have some geometry that meets together at a T-JOINT, and often the ball won't bounce as expected (like it is striking a smooth surface, in the top example) but instead will appear to collide with the inside edge of the red rectangle and bounce backwards (like in the bottom example).
What's the best way to compensate for this? I imagine I want to throw out the collision between the ball and the red rectangle, but I'm not sure how to reliably handle this.
Thanks.