keiwando / evolution

A sandbox game/simulator that demonstrates machine learning with evolutionary algorithms.
https://keiwan.itch.io/evolution
361 stars 56 forks source link

[Feature Request] Move the platform alongside the creatures #12

Open Khhs167 opened 1 year ago

Khhs167 commented 1 year ago

The Problem: Creatures more than often fall off the platform. Proposed Solution: Make the platform move alongside the creatures. Reason: By making the platform move with the creatures, we suddenly make the platform seemingly infinite. Of course this isn't the best solution possible, one better solution would be to set a ground Y and simply push up the nodes if they get below that Y, or something similar, hence only needing a single box for the camera.

I hope this request makes it into the game, i'd love to open a PR with it, but i sadly do not have Unity installed right now, due to preference, plus that Unity takes up too much space for somewhere around 20 lines of code, depending on.

keiwando commented 1 year ago

Thanks for reporting this. Do you have a save file in which the creatures reliably fall off of the platform?

Khhs167 commented 1 year ago

I sadly do not, but it is easy to replicate: make 2 parallel bones and connect them with a muscle, it should infinitely grow and very quickly fall off the platform. You can also make something that moved and let it move for e.g 10000 seconds and the issue should be visible.