Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's create a basic falloff scenario with a simple rigid body dynamics scene. Here is the setup – the nodes can be added from the appropriate shelves:

  • The ground node object is a → passive rigid body.
  • Add a cube object and keep it selected,
  • Open Tools shelf > Array Tool, enter a value of 15 for the horizontal (depends on your → axis setup) “Number of Items” parameters, and click on “OK”.


Image Added


After a few moments you will see a → MultiBody consisting of 225 cubes:

  • Delete the original cube.
  • Rescale the MultiBody with the R key and make it an → active rigid body under Node Params > Node > Dynamics.
  • Change the MultiBody's' mass under Node Params > Rigid body > @ density > 200

 

Image Added


  • A → “Gravity” daemon ties the cubes to the ground.

...

  • Attractor > Bounded > Yes
  • Rescale the daemon's viewport gizmo with the R key and include all cubes.
  • Attractor > Internal force > -200.0
  • Make the force field visible under Display Force Field > Show field > Yes.
  • All you can see is a green mess.
  • Change this with Display Force Field > @ spacing magnitude scale > 0.005

 

Image Added

 

All arrows have exactly the same length, because the force is acting with the same strength at each point.:


Image Added

Activating the Falloff

Enable the daemon's falloff – all parameters located under Node Params > Force Field Falloff:

...

Now, the arrows have different lengths and you can see two spheres (circles in 2D):


Image Added


  • Inside the dashed sphere, the arrows are now not affected by the falloff.
  • This means that here, the daemon's forces are acting with the adjusted “Internal strength” value.
  • Towards the outer sphere the arrows become smaller and smaller, indicating the falloff.

...

When you simulate you will recognize that the inner cubes are stronger affected than their counterparts near the daemon's boundary – this is the falloff's influence:


Image Added

The falloff creates different zones of attraction (only the MultiBody is visible here).


  • Change the MultiBody's “@ density” if necessary.
  • Play with “@ falloff percent” to change the size of the falloff zone.
  • Set the “@ falloff decay type” to “Quadratic” and “Cubic” and simulate again to see the difference.
  • The arrows show you immediately how the forces change with different settings.
  • Simulate.