I tried that now, but there is still no actual evolution over more generations.The function doesn't take the value of every individual fish, but it always takes the
basic value which is 100.I'll give an example for the math on how it should be:
Fish spawns on start of layout: speed=100(default speed)+random(20, -20), example: 120 speed.
If this fish spawns another fish: speed=120(speed of mother)+random(20, -20), example: 140 speed.
Then again if this fish spawns another fish: speed=140(speed of mother)+random(20, -20), example: 160 speed.
Right now it is like that:
Fish spawns on start of layout: speed=100(default speed)+random(20, -20), example: 120 speed.
If this fish spawns another fish: speed=100(default speed)+random(20, -20), example: 120 speed.
and that repeats forever. I hope this is somewhat understandable..
thanks for your time and capacities <3