This is a simple Vectorfield(aka flowfield) for Unity.
It is still WIP and supports only 2D, which means only X and Z positions of the object are updated on the field. 3D Vectorfield will soon be implemented. More information about vectorfield / goal based path finding
The system consists of 3 parts:
- Fluxsystem class is the main class that initiates & calculates the field.
- Cell class is holding infomation of its & neighbors' location in the array.
- flow class is for looking up vector in the cell in the field and updates object's position.