Magnetic physics

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

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 on other sites
I've found this, dunno if it'll help you much..: http://www.falstad.com/vector3dm/.

Just google for "magnetism simulation"!

Have fun :).

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).

1. 1
Rutin
69
2. 2
3. 3
4. 4
5. 5

• 21
• 10
• 33
• 20
• 9
• Forum Statistics

• Total Topics
633421
• Total Posts
3011797
• Who's Online (See full list)

There are no registered users currently online

×