Does anyone know of a way to stop any members of a group coming within 18 pixels of one another without stopping one or more of them moving?
It would be really helpful if I could get some tips. What I need is for neither to stop moving, but for both to move away from each other, so that they aren't all being focused in one point. So that they are allowed to bunch together, but not to overlap.
Here's the project:
http://scratch.mit.edu/projects/teguki/1049012
Offline
technoguyx wrote:
You might want to use the "distance to []" block under Sensing.
The problem isn't sensing how close other zombies are; that's the easy part. The bit I'm struggling with is how, using that information, to make them avoid each other.
Last edited by teguki (2010-05-14 11:12:30)
Offline