Hi, I'm working on a simple racing game, and while trying to make some collision between the AI I ran into some problems.
Just so you know I'm using 2 plugins by rewrainbow, "MoveTo" and "PushOutSolids", those can be found here:
http://c2rexplugins.weebly.com/rex_moveto.html
http://c2rexplugins.weebly.com/rex_pushoutsolid.html
Move to is used to make the ai cars move around the track, and PushOutSolid I'm trying to use for collisions, adding Solid and PushOutSolid behaviour to the AI controled cars seemed to be the best option so far.
The problem I'm having is that sometimes the AI get stuck and stop moving. I'm still not too sure about what is happening.
It's fine if them bump into each other or even have a little bit of overlapping, I just don't want them to completely run over each other.
I'm looking for any tips on how to improve collisions, different approachs are also welcome.
Below is the current capx I'm working on.
Stuff to look at:
AICar object (collision polygon and behaviours)
AI eventSheet (makes everything move)