Please enable JavaScript.
Coggle requires JavaScript to display documents.
Jellyfish.cs, Jellyfish manager - Coggle Diagram
Jellyfish.cs
Behaviour
Roam around
Bias toward moving vertically rather than horizontally
next point should be within max and min ground distance
Avoid terrain
Avoid going through jellyfishes,characters
Flocking
Debugging
Draw line to current roam target
Display current distance to ground and state
State
Roam
Flock
Animation
Move speed affected by animation (pull/push)
Jellyfish manager
Register/unregister jellyfishes
Spawn/despawn at spawnpoints
Manages flocks