Skip to main content

All Questions

Tagged with
2 votes
1 answer
2k views

Simulating Gravity in 3D Game?

Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it. Is there a nice way to find a velocity vector which can be added to my engine output ...
Joseph Roberts's user avatar
14 votes
2 answers
2k views

$N$-body simulation in General Relativity

How would one perform an $N$-body simulation in General Relativity (GR) for something like galaxy formation or galactic dynamics? Suppose one wants to simulate the rotation curve $v(r)$ for galaxies ...
Marton Trencseni's user avatar
5 votes
3 answers
323 views

Simulate a physical impact of objects made of finite, small elements

I want to simulate an impact between two bodies according to gravity, and eventually considering other forces to stick matter together. I'd like to use python to do this, but I am open to alternatives....
Stefano Borini's user avatar

15 30 50 per page
1 2
3