Gravity is a vector that is normally directed down the y axis.
I am trying to simulate a gravity of a sun, in doing so I put random points on the surface of the sphere that point to the center and I use that as the graviation force, however it is not working and I can’t find the reason. Can anyone give me a hint?
bug, sun gravitation | Babylon.js Playground (babylonjs-playground.com)