Why don't effectors effect effectors? I'm working on a scene with two balls that attract each other, they collide, bounce around, etc.  I'm trying to do this by turning off gravity, setting each ball as an active rigid body and attaching a force field to it to attract the other ball.

This isn't working.  If I put a force field on one ball, the other ball moves towards it, but as a soon as I put force fields on both balls, they both stop moving.

I've dug into the code and found the source of the problem.  In blender/blenkernel/intern/rigidbody.c, there's a function rigidbody_update_sim_ob that includes the following code:

    /* update influence of effectors - but don't do it on an effector */
    /* only dynamic bodies need effector update */
    else if (rbo-&gt;type == RBO_TYPE_ACTIVE &amp;&amp; ((ob-&gt;pd == NULL) || (ob-&gt;pd-&gt;forcefield == PFIELD_NULL))) {


...but this is exactly what I want!  I want an effector to effect an effector!

So, why is the code written like this?  Why can't an effector effect an effector?  Should this be an option?
You can work around this by parenting force-field empties to the rigid bodies instead of making the rigid-bodies effectors themselves:


Add the force field: ShiftA>Force field > Force.
Parent it to your rigid-body sphere. Select the force-field, then the sphere and press CtrlP> Object.



It is important that the force-field has the same rotation and location as the sphere.


The force-fields will not have any affect on the sphere they are parented to, as the center of mass of the sphere is in the same place as the center of the force-field. They will affect the other spheres though.

Example animation (click for html5 version):



Example .blend