N
Necromedes
Guest
I understand that this is a long lived issue but I haven't been able to find a proper solution.
I am using an mp_grid for my enemy pathfinding and need a means of collision between different enemies, instead of allowing them to seemingly merge into one spot.
I have tried x and yprevious, move_towards_point with a negative speed value to essentially move away from the other enemies. I have tried using move_bounce (it kind of works but is really buggy and jerky,) I have tried so many different things.
I have even tried to add obj_enemy to the list of instances for them to avoid on the grid but since they consider themselves something to avoid, they just sit there.
Someone gave me a code a long time ago with only a few lines of could that essentially let the enemies slide around each other but I no longer have access to said code. If someone could give me a similar code or something that will solve my issue in some other manner, then please let me know.
Thanks in advance.
I am using an mp_grid for my enemy pathfinding and need a means of collision between different enemies, instead of allowing them to seemingly merge into one spot.
I have tried x and yprevious, move_towards_point with a negative speed value to essentially move away from the other enemies. I have tried using move_bounce (it kind of works but is really buggy and jerky,) I have tried so many different things.
I have even tried to add obj_enemy to the list of instances for them to avoid on the grid but since they consider themselves something to avoid, they just sit there.
Someone gave me a code a long time ago with only a few lines of could that essentially let the enemies slide around each other but I no longer have access to said code. If someone could give me a similar code or something that will solve my issue in some other manner, then please let me know.
Thanks in advance.