Original Post
Say I wanted to develop a simple 3D first person shooter. How would I calculate when the bullets hit a wall? I mean, I understand that you would test to see if they collide with any section of a wall or player or something, but since bullets generally travel the entire distance from barrel to wall in one frame, how would you check whether they are going to hit something? Understand what I mean? I thought this had something to do with "ray tracing", which I have understood to me a graphics technique. I'm not sure what it is, or how to apply it to this situation. If anyone can enlighten me on this topic, I'd be very grateful. Thanks.