Optimising interplanetary travel times (for a game)

  • Context: Graduate 
  • Thread starter Thread starter Kael42
  • Start date Start date
  • Tags Tags
    Game Travel
Click For Summary
SUMMARY

This discussion focuses on optimizing interplanetary travel times in a game scenario where planets are in uniform circular motion around a central star. The user, Kael, seeks to calculate the optimum angle for a spacecraft to travel from one planet (A) to another (B) without considering gravitational effects. Key concepts mentioned include parametric equations for circular paths, constant velocity travel, and the need for calculating travel time and distance. Suggestions from other users include exploring Lambert targeting, porkchop plots, and Hohmann transfer orbits to incorporate gravitational influences.

PREREQUISITES
  • Understanding of parametric equations in 2D space
  • Knowledge of uniform circular motion principles
  • Familiarity with spacecraft velocity and trajectory calculations
  • Basic concepts of orbital mechanics, including Hohmann transfer orbits
NEXT STEPS
  • Research Lambert targeting techniques for spacecraft trajectory planning
  • Study porkchop plots for optimal interplanetary travel paths
  • Learn about Hohmann transfer orbits for efficient energy use in space travel
  • Explore advanced parametric equations for modeling spacecraft motion
USEFUL FOR

This discussion is beneficial for game developers, aerospace engineers, and anyone interested in simulating realistic interplanetary travel mechanics in a gaming context.

Kael42
Messages
20
Reaction score
0
Calculating the optimum angle (resulting in the minimum time) for a linear-pathed spacecraft (unaffected by gravities) to leave a planet performing uniform circular motion to reach another planet undergoing uniform circular motion.

I am really struggling to work my head around this problem, I was hoping someone on here might have a crack at it, and see what they end up with.

So in this game I am working on, planets orbit a central star, performing uniform circular motion around it. The planets have various different periods (a randomised variable) measured in "steps", and different sizes (also randomised) measured in units unspecified (please identify the unit symbol used). For the purposes of the 2D game, mass is directly proportional to circumference.
Distance is also in unspecified units, so again please identify the unit symbol used.

So, call the initial planet "A", with initial position (xA, yA) on a circular path.
The destination planet "B", with final position (xB, yB) on a circular path.
The circular paths will require 2 parametric equations each, all containing time.

From this, the direction from A to B will be found, and a parametric linear equation fitting this. Assume the craft has a constant velocity, v.

The final values I require are travel time, travel distance, and the parametric linear formula for the path taken by the craft.

Did I miss anything?

Thanks, Kael.
 
Mathematics news on Phys.org
What you missed is that gravity also affects spacecraft . Since your problem is non-physical, nobody has studied it.

If you want gravity to also affect your spacecraft you might want to look into Lambert targeting. Also google the term "porkchop plot".
 
As D H says, a spacecraft cannot fly from one planet to another along a straight line. You might also want to look at "Hohmann transfer orbit".
 

Similar threads

  • · Replies 86 ·
3
Replies
86
Views
9K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
2
Views
4K
Replies
2
Views
1K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 35 ·
2
Replies
35
Views
5K