Bad collision detection
ulisse
Member Posts: 25
Hello
I'm working on a chain reaction game and I'm experiencing a problem with collision detection.
I have actors colliding with explosions generating more explosions.
Often the collision looks detected quite late, i.e. when the actor is inside the explosion and not when contact begins as I would expect. Sometimes the actor has time to cross almost all of the explosion before detecting the collision.
Did anyone experienced the same problem? Is it possible that the scaling of the explosions results in a late update of the collision system?
I'm working on a chain reaction game and I'm experiencing a problem with collision detection.
I have actors colliding with explosions generating more explosions.
Often the collision looks detected quite late, i.e. when the actor is inside the explosion and not when contact begins as I would expect. Sometimes the actor has time to cross almost all of the explosion before detecting the collision.
Did anyone experienced the same problem? Is it possible that the scaling of the explosions results in a late update of the collision system?
Comments
Interpolate?
If you are, then Interpolate won't collide until it it is finished interpolating.
If you are making an explosion grow in size, then I would use Timer.
I tried using a timer.
Sure things work better, but still, sometimes, actors don't detect the collision when inside of an explosion