The orbit creator plugin
This plugin lets you easily create an orbit around an object with a variety of different parameters e.g. The orbit period, the trajectory, starting point, which direction should it orbit and so on.
Upon downloading the plugin a script called the “OrbiterScript” will get inserted into the “ServerScriptService” you can place this script wherever you want. However don’t modify any of the instances that are parented to it or else it can resault in the script breaking.
Now onto the most exciting topic and that’s BUT HOW DOES IT WORK?. I am happy that you asked let me show you. Once you click on the plugin’s icon in the plugins tab, this window will open.
First before I explain what each option does let me show how do you even make an orbit.
This is very important “FIRST” select the object that you want the other object to orbit around and then you select the object which will be orbiting. It’s very important that you do it in this order or else you might get undesired orbits. Let me show it on an example so you better understand it just in case.
In the picture above I want the blue ball to orbit around the red one how would I do it?
I would first select the red ball and then I would select the blue ball.
If you have done this you might be confused since you don’t see any blue balls showing the path as in the video the reason as to why did this happen is beacuse you didn’t set the Major/Minor axis to any high value.
Now when you selected those two objects you might’ve noticed that you have a part named OrbitManipulator selected you don’t really have to worry about the name or anything the reason as to why is it there is because if you rotate it you can incline or rotate the orbit.
You can also move it around and change it’s properties but it won’t do anything this part is here just for the rotation.
If you are observant you might’ve noticed a green ball on the orbit.
The reason as to why it is there is to show you where will the orbiting object be when you start the game.
Now onto the interesting stuff what are those options and what do they do?
Let me explain.
Time type input
This specifies in what units is the period (how long does it take for the objects to orbit) is it in days? hours? minutes?
I’ve basically spoiled myself already but anyways the fancy word (“PERIOD”) basically means how long does it take for the object to make one orbit around the object that it’s orbiting.
Period 30 seconds
Period 5 minutes:
Now here it gets interesting with these you can modify how does the orbit look like. Basically you can specify how long or how wide should the orbit be with this you can make elliposide orbits like this one.
Or if elliposide orbits are boring to you. You can do nice and beautiful circular orbits like this one.
This option let’s you offset the orbit by a certain amount. For example you don’t like how are your circular orbits in the center? You can use this option to offset it.
X Offset -10:
X Offset 10:
Now onto the last option that you can modify the most feared one “direction”. This option lets you specify which way will the object orbit clockwise or counterclokwise.
If you want to delete an orbit simply select the two same objects in the same order and a button called “Delete” should appear upon pressing it the orbit will get deleted.
And what if you want to modify the orbit how would you do that? Same as with deleting an orbit select those two same objects in the same order then play around with the orbit settings and once you are happy with it click on the “Apply” button.
If you don’t want the plugin to work anymore simply click on it’s icon in the plugin’s tab.
For the sections below.
If any of the idea/bug is marked as.
- It’s known about but it’s not being worked on currently.
- It’s being currently worked on.
- When an object that’s orbiting something is deleted the orbiter script will error
This is empty like my brain
If you have made it here thank you for reading this post. If you have any ideas or if you have found any bugs or maybe you want to ask a question don’t be afraid and mention me in your post below. As you could probably guess this plugin is currently in beta that means you my dear reader can contribute towards it’s development ;). Anyways that’s all from me for now hope you enjoy this plugin.
Update information (4.5.2022):
- A lot of bug fixes
Ladies and gentelman I introduce to you the —>(THE PHYSICS MODE)<—
That’s right this mode works very similarly how the plugin currently works howere insted it uses roblox’s physics to simulate orbits. I will edit this post and include documentation about the physics mode later on.