Hey, I was wondering... How does soldat detect if something hits a wall, or if there is a wall(s) between two points(line)?
I would assume that for collision detection it would just be a line made from an objects position and it's projected position based on velocity, then wall detection for that line.
I know that you technically could make a linear equation for each wall line and for the collision line then solve for an intersection, but wouldn't that be slow since you have to do at least 2 lines of every poly for every object on screen?
I'm just curious of how it works.