Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Possible to disable RockerPropulsion's target feature?

Asked by 6 years ago

Hello, I am still relatively new to Lua. So, I'm attempting to build rockets, but the rocket propulsion's target feature gets in the way. Any way to still get propulsion of the body while not having a target?

1 answer

Log in to vote
0
Answered by 6 years ago

I am not very sure you can get a rocket to fly without the Target variable, however as an alternative you can use BodyThrust. BodyThrust allows the object to be forced in a certain direction relative to the part's local coordinates. So if your part's orientation is disturbed while it is in motion, the force will be applied to the local axis of your part, not global coordinates.

Ad

Answer this question