Bad collision detection

ulisseulisse Member Posts: 25
edited November -1 in Working with GS (Mac)
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?

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    What are you using to create the explosions?
    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.
  • ulisseulisse Member Posts: 25
    Thanks
    I tried using a timer.
    Sure things work better, but still, sometimes, actors don't detect the collision when inside of an explosion
Sign In or Register to comment.