I have read some of the posts in this area and haven’t quite found the answer I need - unless I just don’t understand what I am reading (which may be the case).
I have an object that I move up and down the screen in between a top and bottom wall. It usually bounces as expected, even if you hit the wall several times quickly. However, every so often, and I can’t seem to determine how, the object will pass through the wall. This usually occurs when bouncing in very rapid succession against the wall.
I have tried putting two layers of wall objects, and even offset them so the object has to pass through them both - but it still will make through occasionally. I also increased the bounce of the object and the wall and increased the density of the walls, without success.
I just wonder if I am missing something in my understanding about how the physics works. I am kind of thinking that the physics body of the object is overlapping the wall and so the subsequent movement of the object against the wall (the new collision) is not detectable. If this is the case - I am at a loss at how to solve it.
Anybody seen similar behavior? Any suggestions?
Thanks all!