- Title: GMCircularField
- Description: A simplified flow field for AI avoidance
- GM Version: :GM81: :GM8:
- Registered: yes
- File Type: .zip (.gmk .gmres :GM8: .dll and source)
- File Size: 100kB
- File Link: http://www.host-a.ne...rcularField.zip
Having trouble making your AIs avoid each other? Designed with the idea I got from this video
GMCircularField is a dll you can use to avoid all the dynamic characters in the game and even use for walls avoidance, though combining with proper A* path finding (on walls) would yield better overall system.
How it works:
A play field is used to draw regions onto. These regions are like hills on a map. virtual hills. Your AI, while moving to it's target, can simply glide down those virtual hills generated by all characters and the result is a very simple effective AI avoidance system.
Now, this particular dll does not actually draw regions on a field but uses circular regions to define the areas that need to be avoided. The result is very close to an actual flow field.
If you want to see a grid based/surface like based method, version1 can be found here