Is there a way to create magnetism in Blender? Using the physics engine or the game engine, I want to create BuckyBalls (the magnetic toys) within Blender.
- Technically, you could model the magnetic attraction between all of the individual balls by using Blender's Force Field physics. You can enable this physics simulation in the Properties> Physics menu. However, this would be very inefficient. Since the magnetic attraction between these balls is so strong, they're almost always touching each other directly and you would hardly see any effects of the simulation.
- Instead, you can just model the balls themselves, and keep most of them touching each other.
If you only have a few of them, it's probably fastest just to control their movements by hand. However, if you need to animate them more efficiently, you can use a combination of Array modifiers (parented to empty objects for convenience) and Transform/Relationship constraints as appropriate to keep the right balls locked to each others surfaces.
The only possible way as of 2.77a is to write your own engine for magnetism in python. The hint how to do that as an addon is here:
Explanation why it is not possible:
A Force field cannot be a Rigid body actor, so they are only passive in the scene and cannot move by themselves. Force fields do not act on each other. Parenting force fields on rigid body actors creates a dependency cycle.
A Magnetic force field is not what you think it is, it only acts on moving particles. Every force field effects all particles or rigid bodies the same except Charge force field. That is why only this one comes in mind, because we want to attract one kind of magnetic pole and repel the other kind. But Charge force fields work only on charged particles and you cannot constrain 2 particles to behave like fixed pair and be a magnetic dipole.
If you actually want to simulate the magnetic forces, you could use a Force or Magnetic force field with rigid body simulation.
you would need to use force field empties parented to the rigid bodies, as it seems force field objects are not effected by other force fields..
also particles with a self effecting force could work, or also with a magnetic force field.