Hi!
Currently I got:
Tank2 is overlapping Tank1 > set Tank2 bullet speed to 20
<invert>Tank2 is overlapping Tank1 > set Tank2 bullet speed to 27
This actually works for me, but not for the other vehicles. These other vehicles are exactly the same way programmed:
Vehicle2 is overlapping Tank1 > set Vehicle2 bullet speed to 20
<invert>Vehicle2 is overlapping Tank1 > set Vehicle2 bullet speed to 35
I've no clue what's wrong.
I also tried adding the solid behavior to all vehicles as a workaround but that didn't do anything, vehicles just kept overlapping.
Basically, the vehicles and tanks all spawn on different y positions but I don't want them to overlap when one is going faster than the other.
I did try detecting collision. However you cannot invert collision. I just want the fastest vehicle lagging behind a slower one, to resume its speed once the slower one is destroyed.
Does anyone have any ideas?
Thanks in advance.
Regards
-R