Snails currently use OBST to determine if they are about to run into a wall. Unfortunately, being ground critters this triggers on all but the slightest slopes, meaning they get stuck in any appreciable valley, constantly going back and forth. Need a more robust system, or to simply turn around when they collide with a wall:
doif wall eq left
eliif wall eq rght
endi
Even so, snails still seem to cluster up, especially after having babies. I suspect the mother is following the baby, and the baby is following the mother recursively. Needs investigation.
Snails currently use OBST to determine if they are about to run into a wall. Unfortunately, being ground critters this triggers on all but the slightest slopes, meaning they get stuck in any appreciable valley, constantly going back and forth. Need a more robust system, or to simply turn around when they collide with a wall:
doif wall eq left eliif wall eq rght endi
Even so, snails still seem to cluster up, especially after having babies. I suspect the mother is following the baby, and the baby is following the mother recursively. Needs investigation.