So, I have two moving objects with Continuous Dynamic collision settings on a Sphere Collider. My problem is that the collision doesn’t seem to respond correctly when one object is moving away from the other. Any ideas how else I can work this kink out?
it could be tunneling if they are moving very fast although i dont think this is the problem your getting ,
if it is try this script , it solved all my tunneling problems
I added your suggested tunneling code, but it did not change the outcomes.
The image below demonstrates my issue. The blue explosion is a stopped object with an expanding collision sphere. The little green guy is moving away from the explosion. You can see that the sphere colliders are overlapping each other. However, this should cause the green sprite to be eliminated, but it just passes through. This only happens when the moving sphere collider goes beneath the center point of the expanding sphere collider.
