How do I get my helicopter to start up properly?

I have this helicopter system, that works pretty well, except when you first fire it up from whatever point you spawned it at. Instead of facing the initial direction it spawned it, it always rotates to a completely different direction, as seen here:

The simple solution is to match the CFrame Orientation of the AlignOrientation object, seen below



However, this fix requires a manual change to the script. I am trying to figure out how to make the helicopter point based on that CFrame, but it never seems to really work.


How do I fix this?

1 Like

I believe this is an issue with root priority. Set the main basepart of the helicopter to something like 10.

Did not fix it, continues to do the same rotation to the right.

Just set angle to Orientation.Y.

Code:

local angle = engine.AlignOrientation.CFrame.Orientation.Y