hi folks
i did some collision testing with my terrain, and that works quite fine, but i have some trouble with collision response.
i have/had two ideas. the first one was, that every time a collision occurs, i just add something to my y-value to lift my camera. regarding collision this works just fine, but the scene is - of course - flickering not just a bit.
the second idea i had, had to do with reflection. the flickering is gone and everything is smooth. BUT imagine this worst case scenario:
i have to polygons. on is lying quite flat, the other is right "behind" this polygon in an angle almost perpendicular to the first polygon. when i have a collision with the first polygon close to the second polygon and with a flat angle to the first polygon, the reflected vector speeds me far behind the second polygon.
anybody had a similar problem? how do i react if i am this far behind the polygon? or how do i prevent even to get in this scenarion.
thanks for your help and insights,
cheers,
martin