Gim117
(Gim117)
May 9, 2017, 11:35pm
38
You could have a moon that is orbiting a planet, while a planet is orbiting a sun. There are two types of physics modes and the behavior will be different depending on which ones you choose.
In Kepler mode, a âperfectâ orbit is calculated based on two actors only. This orbit will never change and will not become unstable (unless you tell it to change). This mode will keep the same orbit regardless of framerate. In this mode, you would add a planet and set it to orbit the sun, and then add a moon and set it to orbit the planet. The moon will orbit the planet while the planet orbits the sun, but the sunâs gravity wonât be affecting the moon like in kinematic mode. The advantages for this mode is that the orbit is a mathematically âperfectâ orbit that will not change based on framerate or physics substepping rate. The downside is that this will only calculate gravity from one GravityMass at a time.
But it is still possible to change for example the distance of these two objects at runtime in kepler mode? and is a function like that already build in or would i need to extend this on my own?
relating to the bp version. Thanks for your answers and your work here