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)
Specification: Gravity Objects
|
User Reviews
Only logged in customers who have purchased this product may leave a review.
There are no reviews yet.