https://github.com/ncdev2015/solarsystem-godot
Orbit planets around the Sun
https://github.com/ncdev2015/solarsystem-godot
Last synced: 4 months ago
JSON representation
Orbit planets around the Sun
- Host: GitHub
- URL: https://github.com/ncdev2015/solarsystem-godot
- Owner: ncdev2015
- Created: 2021-10-21T17:38:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T16:18:52.000Z (about 4 years ago)
- Last Synced: 2025-03-01T18:45:56.555Z (over 1 year ago)
- Language: GDScript
- Homepage:
- Size: 17.7 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Solar System in Godot
This example uses 2D position node and animate it adding movement with GDScript and Physics formula:
This is useful to learn rotation and angular (algebra) concepts.
First sample:

By pressing SPACE key adds a new planet to scene and this start with spining.

Second sample (planets with movement)

Considerations:
- By pressing the SPACE key it adds a new planet
- The center of each planet is the Sun
- Modify angular velocities to increase o decrease spin velocity