Recent content by AlenC

  1. AlenC

    B Simulating orbit trajectory based on position and velocity

    Thank you so much, it's finally working: http://image.prntscr.com/image/60331e210381452ab979dd775141e760.png
  2. AlenC

    B Simulating orbit trajectory based on position and velocity

    I checked the results coming out of program and they match with your calculations and my original value of E: -286032000000000 So now comes the difficult part where I'm probably making a mistake. If I understood correctly, next I have to solve quadratic equation with two results...
  3. AlenC

    B Simulating orbit trajectory based on position and velocity

    I tried using these equations in my simulation, but I'm getting strange results. Either too big or too small. Would you mind checking my numbers? I first tried calculating total energy: E = 10000000kg*( (7563.49ms²/2) - ((6E+24kg*6.67408E-11)/7000000m) ) Mass of the planet is...
  4. AlenC

    B Simulating orbit trajectory based on position and velocity

    I'll need some time to process this, but I think I understand the general meaning: I can calculate energy from velocity and distance. Would you just mind explaining what M, L and R stand for?
  5. AlenC

    B Simulating orbit trajectory based on position and velocity

    Yes. I know these values. What can I do next based on this?
  6. AlenC

    B Simulating orbit trajectory based on position and velocity

    Hi! I hope I'm posting in the correct section. I found this very similar topic in this forum: https://www.physicsforums.com/threads/orbital-ellipse.482713/ Aside from very helpful formula for calculating semi-major axis, the question was left unanswered. I have a working simulation of...
  7. AlenC

    Incorporating Science and Math into Game Development: Tips and Tricks

    Thank you! I have to say that I play a wide range of genres. If I have to pick, then I'm mostly an RPG fan. However, the game I'm working on I'd describe as a mix between Kerbal space program (much simpler and with sci-fi elements) and FTL.
  8. AlenC

    Incorporating Science and Math into Game Development: Tips and Tricks

    Hi, I'm a game developer wannabe and I come here for help. I love science and math and I'd love to use it in my work. But as I'm unfortunately terrible at it, I hope I can find some helpful pointers here. So I guess I'll head to homework section... :)
Back
Top