[Squeakland] fixed dist follower

Randy Heiland heiland at indiana.edu
Tue Feb 7 11:49:00 PST 2006


Oh merciful Squeakers,
Is there a nice trick to have one sketch follow another by a fixed distance?
I'm aware of the 'turn toward' tile, but I don't want the follower to ever
catch up to the leader.  Some simple scheme for: follower(x,y) =
F[leader(x,y,heading)]

Thanks, Randy



More information about the Squeakland mailing list