News for hackers. Stuff that matters.
Re:How Do Bullets Work in Video Games? by BorisTheBrave on Thursday December 26, 2019 @05:15AM (#21882937)
Actually no. Thin, quickly rotating objects are an area where a lot of collision detections libraries fall down - the simpler algorithms just look at the position of the objects each frame, and two swords can easily pass through each other in the time between frames.

The problem is called tunelling, and though there are some features to deal with it, there aren't any ones that are simple, reliable and cheap.

Re:How Do Bullets Work in Video Games? by tekromancr on Friday December 27, 2019 @03:22PM (#21894249)
Why wouldn't the blended ray+physics technique described in the article not work? I am imagining projecting a bunch of rays from the blade along the vector of travel each physics tick and using that to determine if a collision will occur during that tick.

I've never tried to implement anything like that, so I am curious where that might Fail.