Code center > Bug reports

Touch senses ain't workin. RESOLVED (NO BUG)

(1/2) > >>

Testlund:
Have been testing with vision both enabled and disabled with Alga Minimalis, Animal Minimalis and R Fisannis for comparison. With vision disabled I see no indication it is doing anything when bots bump into each other. You can test by placing a lot of algas around any of the other bots. Here's a sim:

Uaaah!  

EricL:
Looks like it is working fine to me.  The refvars get populated when bots touch.  What exactly do you think isn't working?

Testlund:
Well, when I start a sim with these bots with vision turned on they will shoot at the veggies when they come into view, but if I start with vision turned off they will never shoot even if they are surrounded with veggies bumping into them. For instance Animal Minimalis will constantly spin around until a veggie comes into view, then it will stop spinning and start shooting, with vision turned on. With vision turned off it will just keep on spinning, totally unaware of the crowd of veggies around it.

EricL:
Well of course.   All their genes are conditioned on the value of *.eye5.  If you turn off their vision, you can't expect any gene with that condition to fire even if they bump into something and the refvars get populated.  

If you want blind bots to actually do something, don't condition their genes on eye values...

Testlund:
I see.  Well... I don't know how you have implemented the touch senses exactly. I was thinking you had just wired it to the eyes in some way. Does that mean you have a new sysvar for touch?

Navigation

[0] Message Index

[#] Next page

Go to full version