An open API service indexing awesome lists of open source software.

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

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:

![Solar System](https://github.com/ncdev2015/CircularPositioningOfElements/blob/master/assets/example_1.png)

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

![Solar System](https://github.com/ncdev2015/CircularPositioningOfElements/blob/master/assets/example_2.png)

Second sample (planets with movement)

![Solar System](https://github.com/ncdev2015/CircularPositioningOfElements/blob/master/assets/updated.png)

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