Hi all,
I have begun for about near 2 weeks searching and working on a camera or player collision detection and sliding with world's walls, and I'm stuck on the sliding logic.
What I have:
all the blue points.
all the green lines.
What I need:
the red point.
What I think I have to do is to increment the coord of the intersection point with the size of the line intersection point to red dot, but I don't know how to do that.
I'm hoping if you could help me with this math prob, after this I just have to add gravity which is easy.
HRuivo.