I think my terminology is correct with the AABBs. I suppose I really mean 2D rectangles.
Has anyone got or know of a function that given two rectangles and their respective velocities (in x and y components) will return the time of collision and the position of both rectangles at this time? It would also return false or true depending on whether the objects actually collide as well.
I've been looking around the net and I keep getting close but not finding the banana yet
Thanks - Rico
Has anyone got or know of a function that given two rectangles and their respective velocities (in x and y components) will return the time of collision and the position of both rectangles at this time? It would also return false or true depending on whether the objects actually collide as well.
I've been looking around the net and I keep getting close but not finding the banana yet
Thanks - Rico