I was going to simulate planetary motion in blender and i have simulated the gravitational attraction between two planets with rigid body and force field. but i don't have any idea about how to give one of them initial velocity with physical accuracy If there is a way to do this with python that would be awesome!!
Here is my blender file : https://gofile.io/d/XnTyAw
There is a problem with the common trick of giving objects initial velocity because it suddenly disappears :