I need help with collision detection algorithm from this paper: http://www.peroxide.dk/papers/collision/collision.pdf
I assume I am colliding with sphere of radius 1, just to make everything not important easier...I am concerned with formula, which finds intersection point with plane (page 14):
planeIntersectionPoint = basePoint - planeNormal + t0 * velocity
where: basePoint = center of Sphere
planeNormal = normalized normal vector to colliding plane
t0 = number from [0,1] interval, first moment from this interval during which collision happens, assuming we are moving with velocity vector
velocity = velocity vector
I think that this formula doesn't work... Assuming that I am already intersecting with plane at t0 = 0, I just get:
planeIntersectionPoint = basePoint - planeNormal
What gives me point which doesn't even belong to plane, what fails further parts of the algorithm, when I check if intersection point is in triangle...
I will be grateful for every answer... Is the algorithm wrong, or that's me misunderstanding something?...