- #1
Parziter
- 6
- 3
Thread moved from the technical forums to the schoolwork forums
TL;DR Summary: Solar sytem forces on Unity
Hello !
For my last year in my school, I've got a project to do, and I wanted to recreate the Solar system with forces on Unity. My forces are Velocity and Acceleration (I'm using the Frenet's formulas).
I'm sorry I'm not a physicist and that's why I'm asking for your help.
Actually, I'm having my planets rotating around the Solar as expected, the velocity is calculated once and acceleration once for all celestial bodies.
Now, I'm trying to add the Moon to rotate around the Earth, but if I just add the Moon in the scene, it will rotate around the Sun as other planets, and will never rotate around the Earth...
Do you think I missed something ? Or maybe I've done something bad ? Or I though to try to do something with the escape velocity, but I don't know how it would change something...
Do not hesitate to tell me if something's trigger your mind !
Thanks to all
Edit : as it is a simulation, I've tried to give to the moon only the acceleration with the Earth, and the velocity of the Earth, and it started turning around the Earth, but in one complete Earth's revolution...
Hello !
For my last year in my school, I've got a project to do, and I wanted to recreate the Solar system with forces on Unity. My forces are Velocity and Acceleration (I'm using the Frenet's formulas).
I'm sorry I'm not a physicist and that's why I'm asking for your help.
Actually, I'm having my planets rotating around the Solar as expected, the velocity is calculated once and acceleration once for all celestial bodies.
Now, I'm trying to add the Moon to rotate around the Earth, but if I just add the Moon in the scene, it will rotate around the Sun as other planets, and will never rotate around the Earth...
Do you think I missed something ? Or maybe I've done something bad ? Or I though to try to do something with the escape velocity, but I don't know how it would change something...
Do not hesitate to tell me if something's trigger your mind !
Thanks to all
Edit : as it is a simulation, I've tried to give to the moon only the acceleration with the Earth, and the velocity of the Earth, and it started turning around the Earth, but in one complete Earth's revolution...