Open burjui opened 5 years ago
Thank you for reporting this! Poor ragdolls 😢
The first crash you are describing here is kind of expected. Under singificant stress, a multibody may break down numerically speaking (because it has to solve an extremely stiff system), leading to NaN
into some joint values, leading to the min_bound == min_bound
assertion failure. This is a limitation of the current numerical method we use for multibodies more than an implementation bug. Fixing this amounts to have some kind of fallback when the main multibody solver fails to converge to a sensible solution.
The second crash your are experiencing looks like an actual implementation bug on the collision detection algorithm.
HEAD: 314bade
The first kind of crash can be reproduced pretty reliably by making a single ragdoll stuck in the platform and then dragging it around furiously until it passes through: https://youtu.be/6nXL79nJV7M
On one occasion this happened randomly even before any ragdoll stuck: https://youtu.be/KhtL3aqTDm8
Backtrace:
The second kind happens usually when multiple ragdolls are stuck: https://youtu.be/i7PrM-kAQTQ https://youtu.be/nTEpTm-BBzA
Backtrace: