Programming Orbit Expansion: Change Radius w/ Centripetal Force

  • Context: Undergrad 
  • Thread starter Thread starter rrfoote
  • Start date Start date
  • Tags Tags
    Expanding Orbit
Click For Summary
SUMMARY

The discussion focuses on programming a game that simulates objects orbiting in 3D space, specifically addressing the challenge of dynamically changing the orbital radius using centripetal forces. The initial approach of adjusting centripetal force based on the formula (mass*(velocity^2))/radius is ineffective when the radius changes during runtime. It is established that two impulses are necessary to alter the orbit: the first transforms the orbit into an elliptical shape, while the second restores it to a circular orbit at the new radius. Additionally, increasing velocity is crucial for expanding the orbit radius, as dictated by the relationship involving the Universal Gravitational Constant.

PREREQUISITES
  • Understanding of centripetal force and its application in orbital mechanics
  • Familiarity with 3D programming concepts and game physics
  • Knowledge of gravitational forces and their impact on orbital dynamics
  • Basic principles of impulse and momentum in physics
NEXT STEPS
  • Research "Impulse and its effects on orbital mechanics" to understand the two-impulse method
  • Study "Universal Gravitational Constant and orbital velocity calculations" for accurate simulations
  • Explore "3D physics engines" like Unity or Unreal Engine for implementing dynamic orbits
  • Investigate "Elliptical orbits and their transition to circular orbits" for advanced orbital mechanics
USEFUL FOR

Game developers, physics simulation engineers, and anyone interested in implementing realistic orbital mechanics in 3D environments will benefit from this discussion.

rrfoote
Messages
1
Reaction score
0
I am programming a game that involves objects orbiting in 3d space circularly around an axis. I have the orbits working for a fixed radius using centripetal forces, however, I want to be able to change the radius while the program is running. I have tried to just make the magnitude of the centripetal force = (mass*(velocity^2))/radius, however this fails if i change the radius during the program. What forces should I use to change the radius of the orbit?
 
Physics news on Phys.org
rrfoote said:
I am programming a game that involves objects orbiting in 3d space circularly around an axis. I have the orbits working for a fixed radius using centripetal forces, however, I want to be able to change the radius while the program is running. I have tried to just make the magnitude of the centripetal force = (mass*(velocity^2))/radius, however this fails if i change the radius during the program. What forces should I use to change the radius of the orbit?

In reality, increasing the velocity increases the orbit radius. The orbital velocity equals the square root of the Universal Gravitational Constant x mass of attracting body (like the sun) divided by the radius of the orbit.

If the program is set up so that you need to change a force to change orbital radius, a lower centrifugal force will give a greater radius.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 25 ·
Replies
25
Views
7K
  • · Replies 17 ·
Replies
17
Views
4K