I have the same problem defined in this thread that Igor explained. Even with CCD, when frames drop the collision between the ball(s) and the bricks is made but the callback is not fired. But the problem in my case don’t think that can be resolved with raycasts though.
I am not sure if checking all bricks for distance in every frame is the best solution, keeping in mind that the game is already slowed.
I have tried both the fixedSubSteps and the maxSubSteps but that can’t solve the problem, I have not noticed any difference. Still does not make any sense for me. If the collision is clearly working, what could cause the event to not being called?
But didn’t experienced the problem in the sample project. I have reimported ammo library and the problem seems to be gone.
Knowing that the project is ~9 months long and the ammo library is attached to the project, just to be sure, maybe some issue related with callbacks has been solved already in the ammo library? I have checked their repository commit history, but I really can’t know if something has changed.
Thanks @LeXXik for checking the project! I was just writing this response already
There were changes in the engine regarding how it handles collisions, I don’t know, like several months ago? Easiest way to check is to simply remove the Ammo folder from the project and re-import it from the settings. This should use the latest version.
@yaustar in December, when the project was created I didn’t realized that could be a problem until now
@LeXXik Yes, that was what I did. If that is correct then it could be just that!
As the editor is using the stable version, maybe it could be nicer to have just some option to import the physics library without bothering to have the library inside the assets folder.