[starlogo-users] Smell Radius
starlogodaniel at gmail.com
Fri Feb 5 11:00:39 EST 2010
I think I uncovered the source of the long-distance smells - it turns out
that the radius you supply is only part of the smell function. The other
part is the bounding cylinder radius of the objects being smelled. So, the
agents whose centers are 12 steps away are actually within 10 steps if you
count from the tip of your nose to the tips of their tails.
What do you think about this? Other users, feel free to chime in! Should
smell only smell things whose xcor and ycor are within the radius, or should
it smell things which have any part of their shape inside the smelling
On Thu, Feb 4, 2010 at 1:48 PM, Daniel Wendel <starlogodaniel at gmail.com>wrote:
> Hi John,
> The Energy Flow in a Food Web lesson in the Middle School Science
> activities uses smell-list-with to make the lions chase the nearest bunnies.
> Here's a link:
> If you're doing something similar but still seeing agents outside of the
> radius, I'd be curious to see your program! It's always possible that
> you've discovered a bug I can fix.
> --Daniel (TNG team)
> On Wed, Feb 3, 2010 at 9:28 PM, JohnS <john.g.silletto at alum.mit.edu>wrote:
>> Does anyone know an example of a program that traverses a smell Radius
>> list sucessfully?
>> I tried to implement it in a program and I'm finding agents that are
>> far out side my specified radius
>> in my list.
>> You received this message because you are subscribed to the Google Groups
>> "StarLogo TNG" group.
>> To post to this group, send email to starlogo-tng at googlegroups.com.
>> To unsubscribe from this group, send email to
>> starlogo-tng+unsubscribe at googlegroups.com<starlogo-tng%2Bunsubscribe at googlegroups.com>
>> For more options, visit this group at
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the starlogo-users