I’m making a rocket and trying to script it as realistic as possible in Roblox physics engine. The most important thing is I’m hoping to make a realistic rocket landing like SpaceX and yes this needs things about physics a lot. So, I want to make points or markers of projectile directions to get the maneuver for a rocket to land.
Talking about rocket science, this effect is called “Yarkovsky Effect” and there are 2 main directions of a projectile for a rocket. There are prograde (the direction where the rocket goes) and retrograde (the direction which is opposite the prograde).
I want to create these directions as a marker showing on the screen so I can get the maneuver for my rocket to land. I’m not good much at scripting, but I can do basics. I’ve already made my rocket system. The rocket script uses BodyForce to lift instead of BodyVelocity. BodyVelocity is easy to script this thing, but BodyForce makes the rocket more realistic than BodyVelocity. It also uses BodyGyro to do maneuvers.
This is how the landing works
The main goal is I want to create prograde and retrograde markers for a rocket and use them to guide the rocket to the landing point.
I have no idea how to script this because I’ve never done complex scripts before. I would be impressed if there is a way to make it possible.
Edit : I’ve tried with BodyPosition and it works fine, but it only pulled the rocket to the point and didn’t guide the maneuver well.