Recent content by Mipada

  1. M

    Virtual Solar System (formula for gravity in 3d)

    I found this formula. and tried to implement it as: //FX if (BD.get(X).doubleValue() > 0.000000009){//avoid div by 0 error FX = FX.add(BG);//big gravity FX = FX.multiply(BM);//big mass FX = FX.divide(BD.get(X).pow(2), mc);//big distance (x dist^2) FX =...
  2. M

    Virtual Solar System (formula for gravity in 3d)

    I've made a virtual solar system in Java3d. I'm trying to implement the orbiting of planets and ships. I get the basic formula F = G((m1*m2)/r^2))[\code] and saw a discussion here about the formula in 3d but, I don't know how to read a letter with an arrow over it, lol. Can someone help me...
Back
Top