Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![Gravity Objects hero image](https://img.godotassetlibrary.com/t3Boy3yW4kgUzvYsSAnS--Qns6JyERIHa9uCmUEnumA/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9pbWd1ci5jb20vd2ROcXdHbS5wbmc.webp)
Quick Information
![Gravity Objects icon image](https://img.godotassetlibrary.com/YsmIUc-i49AI3WayYshRs4nhuM3zWHw3LJOUwPxEw5g/rs:fit:50:50:0/g:no/aHR0cHM6Ly9pbWd1ci5jb20vd2ROcXdHbS5wbmc.webp)
Adds nodes that act like planets (they have gravity)Add a GravityObject and add a MeshInstance (or any node that extends from spatial) and a CollisionShape to make a planet. To make a spaceship to travel around just do the same, just use a SpaceShip instead of a GravityObject. I would recommend setting Mass to 1 (in the node inspector). To add a script just change the existing script to a new one and let it extend from "res://addons/gravity_objects/gravity_object_node.gd" (the planet script) or "res://addons/gravity_objects/space_ship_node.gd" (the spaceship script)
Godot-Gravity-Objects
A Godot 3 plugin that adds nodes that act like planets (they have gravity)
Adds nodes that act like planets (they have gravity)
Add a GravityObject and add a MeshInstance (or any node that extends from spatial) and a CollisionShape to make a planet. To make a spaceship to travel around just do the same, just use a SpaceShip instead of a GravityObject. I would recommend setting Mass to 1 (in the node inspector). To add a script just change the existing script to a new one and let it extend from "res://addons/gravity_objects/gravity_object_node.gd" (the planet script) or "res://addons/gravity_objects/space_ship_node.gd" (the spaceship script)
Reviews
Quick Information
![Gravity Objects icon image](https://img.godotassetlibrary.com/YsmIUc-i49AI3WayYshRs4nhuM3zWHw3LJOUwPxEw5g/rs:fit:50:50:0/g:no/aHR0cHM6Ly9pbWd1ci5jb20vd2ROcXdHbS5wbmc.webp)
Adds nodes that act like planets (they have gravity)Add a GravityObject and add a MeshInstance (or any node that extends from spatial) and a CollisionShape to make a planet. To make a spaceship to travel around just do the same, just use a SpaceShip instead of a GravityObject. I would recommend setting Mass to 1 (in the node inspector). To add a script just change the existing script to a new one and let it extend from "res://addons/gravity_objects/gravity_object_node.gd" (the planet script) or "res://addons/gravity_objects/space_ship_node.gd" (the spaceship script)