I want to turn spheres into magnets so they will attract each other connect once the simulation is running.
Are there any built-in features for that? What is the best way to implement magnetic force in Isaac-sim?
Hi! Our robots are based on magnets and I’d like to make a Digi Twin and I am interesting if there is magnetic simulation in Omniverse? Or how to implement magnetic forces?
Yes, an extension called omni.physx.forcefields can be used to apply magnetic forces to each of the spheres. Here are the steps used to make the spheres magnetic. I’ve also attached a USDA file and movie that you can use to see how I set it up.
Autoload the extension: Under Windows > Extensions, search for “force” and click the “Autoload” checkbox on the omni.physx.forcefields extension.
Apply a spherical magnetic field to each sphere: In the Stage window, select each of your spheres and right click Add > Physics > Spherical Force Field.
Set the strength of the magnetic field: First click on the Property tab. Select each of your spheres and scroll down until you find the newly added Spherical Force Field window. I used a strength of -5,000,000 on the Inverse Square setting. You may need to experiment with this value to get the behavior you are looking for.
The omni.physx.forcefields extension simply computes forces as a function of distance. It does not simulate a magnetic field and it’s perturbations around other materials, so it cannot simulate an mfl sensor. I am not aware of any other magnetic field simulation in Omniverse at this time.