Code center > Suggestions
Touch senses?
Testlund:
I remember Eric mensioned in some thread (forgot which one) that he could wire eye functions to touch senses instead. I was wondering if he has abandoned the idea? I'm running an evosim where I've turned off vision for all my bots, but I suspect that was a bad idea, because a lot of functions are dependent on a bots ability to see. I guess that without vision a bot won't recognise conspecs and can't evolve sexual reproduction, among other things. What do you think?
EricL:
Wiring refvars to touch is on my list. Just been busy with other (non-DB) things recently. Stay tuned.
Testlund:
Alright. Cool!
EricL:
Okay, as of 2.43.1e, an impact with another bot updates the refvars to reflect the properties of that bot. Vision overrides touch, so if a bot is looking at another bot with it's focus eye and touches a different bot in the same cycle, the refvars will reflect the viewed bot, not the touched bot. If a bot is in contact with more than one bot, a random touched bot is chosen to populate the refvars (providing no bot is in the focus eye).
People who want to run blind bot sims should be all set with this next drop. Disabling vision for a species should make it so that refvar values only come from phsycial contact.
Also, the refvars are now reset to 0 if no bot is in the focus eye and no bot is touching. Refvars were never getting reset before, so they would continue to reflect the static values of the last time a bot was viewed with the focus eye until a new bot came into view. Bot DNA should now be able to simply be conditional on non-zero refvar values intead of only trusting the refvar values when *.eye5 is non-zero.
Refvar population due to phsycial contact with shapes is coming, but not yet implemented. I'll update this topic when I make this happen.
Testlund:
That will be awesome to see in action. Have taken a break from DB, eagerly awaiting your next drop.
Navigation
[0] Message Index
[#] Next page
Go to full version