What is the Best 2D Physics Engine for a Real-Time Simulation Program?

AI Thread Summary
For developing a 2D program that incorporates simple physics, the choice of physics engine is crucial, especially for achieving real-time performance at 30 fps on standard home computers. The focus is on simulating 2D soft bodies using springs and incorporating a basic fluid drag model without turbulence considerations. Efficiency is key, as the goal is to handle a large number of objects within the simulation. C# is the preferred programming language, although alternatives in non-dynamic languages are also acceptable. Unity is suggested as a viable option due to its robust physics engine, which has been successfully used in previous projects, such as simulating environments like the Marianas Trench.
omerAF
Messages
3
Reaction score
0
Hello!

I'm trying to write a 2D program that uses simple physics. I was wondering what would be the best 2D physics engine to use in my case, and if it even matter what engine I choose. I also want my simulation to run in real time, so at least 30 fps on a decent home computer. I prefer a fast physics engine over a precise one.

In my program, I would simulate 2D soft bodies made from springs, and how they are affected by fluid drag. The fluid drag model would be as simple as possible, and would not consider turbulences. However, I want my simulation to have as much objects as possible, so I need my code to be fast and efficient.

By the way, I have experience with c# programming, so that would be my to go language. If not c#, so any other non-dynamic languages, as I really don't like the dynamic ones (but if you have an amazing physics engine working with a dynamic language, I wouldn't resist).

Thank you for your time!
 
Last edited:
Technology news on Phys.org
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Back
Top