wrongu / Evolution

Experiments with genetic algorithms, evolutionary programming, neural networks, etc.
4 stars 0 forks source link

organism energy #6

Closed wrongu closed 10 years ago

wrongu commented 11 years ago

make sure that the organisms use and gain energy properly. check the constants so that muscles don't die too quickly but they expend a reasonable amount

ewy-man commented 11 years ago

Organisms must be able to take damage from other organisms. Perhaps we can make it so that over- extension or compression of a rod or joint drains energy from the organism. This way, if a creature sustains a physical hit which puts its stuff out of whack, then it will have taken damage. This gives organisms a means to fight other organisms.

An nice side-effect of this mechanic is that creatures who are physically unsound or glitchy are also dying. The creatures which are naturally selected are the ones which are compatible with our physics engine.

wrongu commented 11 years ago

Yes I was thinking the same thing. As long as we're sure that the damage to the attacker isn't equal to the damage of the attackee