|
|
|
|
|
by jbert
4459 days ago
|
|
Would it work to have a different response to collision, namely to apply a reverse of your last step? (A full reverse or partial). There might still be corner cases, but it would seem to resolve the described issue, since irrespective of where you think the other player is, if you both reverse your motion you should disengage. I can see 3-body problems being more problematic, but that's probably also the case with the original code. |
|