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->type == RBO_TYPE_ACTIVE && ((ob->pd == NULL) || (ob->pd->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?