3 ms·
>Dark Souls doesn't really model swords colliding at all. Does this really make a difference? There's nothing fundamentally different about sword to sword vs
by jayd16 7y ago
>Dark Souls doesn't really model swords colliding at all.
Does this really make a difference? There's nothing fundamentally different about sword to sword vs sword to body is there?
The anim set makes hits look good even though the impact is not physically calculated for collision angles and impact velocity and such. Perhaps you mean model in this way?
Even still, the game has to at least do a hit detection on a deforming hitbox.
Do you happen to know how From accomplishes their hitbox animation and collision detection?
- nine_k 7y agoA 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.
- CoolGuySteve 7y agoThe 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 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-accurate-battle-simulator/home?sessionInvalidated=true#/purchase/content-control?_k=rk348r https://www.epicgames.com/store/en-US/product/totally-accura...
- erikpukinskis 7y agoIt 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.