March 2006
Intermediate to advanced
304 pages
9h 55m
English
In this exercise, you’ll set up a Vector Field Space Warp and use it with the Space Warp behavior, to push delegates around the object. Since the delegates already have a Seek behavior telling them to seek the object, and an Avoid behavior telling them to avoid one another, the result should be that they fly around and around the object without penetrating it.
This setup causes delegates to alternately approach the object and back off from it. Sounds like the way moths behave, doesn’t it? This trio of behaviors—Seek, Avoid, and Space Warp—is very handy for simulations of insects, birds, airplanes, spaceships, and other flying objects. Refinements for the delegates, such as speed, whether they ...