I wanted to test the Blender BGE engine to solve simple physics simulation problems.
Here I integrate the “three bodies problem“ for masses gravitationally related.
The yellow central body has mass m0=3 and the other two m1,m2=0.1 and they interact gravitationally with acceleration Ax=G*m0*m1/(r**3)*x where G=10 and r is the distance between bodies.
A very cool animated visualization of the movements of the masses is realized easily with Blender. Good for educational purposes, for example.