Sign in to follow this  

Magnetic physics

This topic is 4303 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone have any links regarding magnetic physics simulation, preferably in regard to a 3D gaming environment? More specifically, anything to do with working magnetics into existing physics engines would be great. Thanks.

Share this post


Link to post
Share on other sites
i have done some magnetic tests with a rigid body physics engine, and found that by using a simplified formula for the magnetic force between poles worked very well.

F = (M1 * M2) / ( u * r^2 )


M = pole strength (weber)
u = permeability of medium (tesla meter per ampre)
r = distance between poles.

i found on the net that the magnetic constant u is a very, very small number, so I substituted 0.001 for my simulation. this, in conjunction with vales for M from 1.0 to 50.0 provided very cool results for my magnet system.

I used this formula to calculate the force between 2 magnetic poles (attractive if poles are opposite polarity / repellant if same polarity).

Share this post


Link to post
Share on other sites

This topic is 4303 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this