Let's say I have an Active wooden cube and an Active iron cube in the scene. I also have another Passive cube with a Force force field at the same location.

The force field has a negative strength so it attracts rigid bodies. But I would like the force field only to attract the iron cube and leave the wooden cube alone.

Is there a way to define those properties on object level? For example, the wooden cube is only affected by gravity while the iron cube is affected by force fields and gravity.


1 Answer 1


This appears to be similar to the behavior described.

Wood & Iron attraction animation

In this scene, the wood and metal cubes are affected by gravity, but only the metal cubes are attracted to the red cylinder.

In Blender 2.76, this can be accomplished using soft bodies instead of rigid bodies.

How to create this scene in Blender 2.76

  1. Start with a new scene.
  2. Add a plane, scale it.
  3. In the physics tab, add collisions. Set the soft body damping to 0. Surface for simulation

  4. Move the cube up.

  5. Go into edit mode. Select all vertices.
    • Subdivide the mesh. This will ensure there are vertices and edges for collision detection.
    • Create a new vertex group called 'Group'. Set the weight to 0. Assign all vertices to the vertex group. Settings later will use this to allow the soft bodies to move. Setting the cube up for use as a soft body
  6. Go back to the object mode. Setup the soft body physics.
    • With the cube selected. Go to the physics tab. Select 'Soft Body'.
    • In the 'Soft Body Goal' panel, set the vertex group to 'Group'. This is the group assigned earlier.
    • In the 'Soft Body Edges' panel, select 'Stiff Quads', set the 'Push' value to 0.999, the 'Pull' value to 0.999, and bending to 0.100. This will make the soft body behave almost like a rigid body.
    • Select the 'Edge' and 'Face' collision options. This will help make the collisions more like a solid collision. Soft body setup
  7. Test the simulation by pressing the play button on the timeline. You should see the cube fall to the plane, wobble a little, then stop. This indicates that the collisions are working and that the cube behaves like a solid.
  8. Select 'Collision' physics. This will let the cubes collide with each other. Cube with soft body physics and collisions
  9. At this point, the cube is duplicated. One cube will be affected by force fields and the other will not. This will simulate the iron and wood.
  10. Duplicate the cube. Rename the duplicate to 'Wood-Cube'.
  11. Select the 'Wood-Cube', in the physics tab and the 'Soft Body Field Weights' panel, set the 'Force' to 0.000. This causes the 'Wood-Cube' to ignore force fields. Wood cube force field weight
  12. Add an empty to the scene. Move the empty to the edge of the plane. In the physics tab, select force field. So the force field attracts objects, set the strength to a negative value. This examples will use -10. Attractive force field
  13. This has all of the elements for the simulation! The 'Cube' will be attracted to the empty's force field. The 'Wood-Cube' will not be attracted, but will interact with 'Cube'.
  14. To troubleshoot, try different force strengths and clearing the soft body caches.

The file used to generate the animation above is located at

  • $\begingroup$ It seems that in blender 2.9, one must turn off the "Goal" group $\endgroup$
    – james_t
    Apr 4, 2021 at 17:20

Your Answer

