News for hackers. Stuff that matters.
Re:How Do Bullets Work in Video Games? by phaus on Wednesday December 25, 2019 @12:21PM (#21879423)
Do you happen to know what kind of tech Mordhau uses? Its not perfect but the hit detection seems far better than any other melee combat game I've tried.
Re:How Do Bullets Work in Video Games? by redistressed on Wednesday December 25, 2019 @01:07PM (#21879681)
I don’t know specifically, but the general trick is to get your approximate solve to have the impact happen at a consistent time, since that’s what players have fine-grained control over. Other stuff involved in restitution, like angle of deflection and force at the point of impact, you can basically fudge to be close enough for gameplay purposes. If a game feels really satisfying, it generally means that stuff has been tuned really carefully. (So it is with games.)

You work that stuff out with numerical accuracy if you can be careful about when you need to, but since the animations and audio cues need to be carefully tuned anyway, it tends to add unnecessary complexity.

Re:How Do Bullets Work in Video Games? by meheleventyone on Wednesday December 25, 2019 @01:04PM (#21879666)
Mordhau uses a lot of raycasts.