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