News for hackers. Stuff that matters.
Re:How Do Bullets Work in Video Games? by nine_k on Wednesday December 25, 2019 @03:10PM (#21880195)
A lot of difference.

Real swords slide, slow down to a stop, jump back, get stuck, and variously swivel and yaw in your hands as they meet obstacles.

This is rather expensive to physically model, even harder to nicely animate, and nigh impossible to map to the keyboard and mouse controller combo.

Re:How Do Bullets Work in Video Games? by CoolGuySteve on Wednesday December 25, 2019 @07:56PM (#21881380)
The game itself would also probably become less predictable and less fun as a consequence.

There was a cool talk called "Phase-Functioned Neural Network for Character Control" that used a neural network to join animations together based on user input: https://www.youtube.com/watch?v=Ul0Gilv5wvY

Something like this where the gameplay outcomes smoothly animate realistic swordplay might be pretty fun.

Edit: For anyone wondering what truly accurate physics might do to gameplay, the Totally Accurate Battle Simulator is free on the Epic Game Store for Dec 26: https://www.epicgames.com/store/en-US/product/totally-accura...

Re:How Do Bullets Work in Video Games? by erikpukinskis on Wednesday December 25, 2019 @08:54PM (#21881607)
It doesn't make sense to me that it would be expensive to model. It's just four line segments.

The math seems like it would be preposterously difficult. I wouldn't even know where to begin. Seems like a very serious algebra problem. But once you solve the equations I can't imagine it's more than a few matrix operations each frame.

But it's entirely possible I'm missing something that makes it unsolvable without discrete math that pushes it into the computationally costly realm.