6.14.3 Customized Radial Force
As we have already mentioned, it is possible to define a custom formula
which defines the strength of force fields produced by particle
methods.
In this example, we will create a particle "flock" which acts under the
influence of such a customized force field.
1. Create a particle flock consisting of circles.
2. Create a RADIAL FORCE method to the same level with the circles and
add the following tag to it:
SFOR f=100000*(s-2)
3. Create an offset under the RADIAL FORCE method so that the distance
between the particles and the offset is greater than 2 m.
4. Create a PROCESSOR method to the same level with the RADIAL FORCE
method.
5. Open the animation window and set the Resolution to 200 frames
(this gives you more time to analyze what will happen).
|