Fix ball penetrating arena under sustained force#66
Conversation
|
Interesting... how does this change affect collision accuracy? Is there a reproducible case for this? How easily can this bug occur? Many questions... |
|
RocketSim V3 has issues with the ball penetration, it is a fact and its tested. for ball-vs-world contacts, skipping the per point constraint that carries the penetration depth. |
|
And what I did to fix it:
|
|
Are we sure |
|
No, distance has to stay total_dist / num_collisions. It's used for two unrelated things, and only one of them is the penetration:
distance = radius (contact geometry), avg_penetration = real depth (positional recovery). They're not interchangeable, so merging them regresses the contact solve. |
No description provided.