Just started using AlignOrientation today, and I’ve hit an issue I’m unsure on how to solve.
Whenever I start my game, the object I have with the AlignOrientation part instantly flips to face 0,0,0 vector. I’ve tried settings it’s CFrame to the objects CFrame, so it flips towards where the object is facing, but that doesn’t seem to work.
Here’s a clip of the issue:
Here’s the code I currently use to attempt to get it to not auto-flip:
-- ... code above ...
ao = MAIN.AlignOrientation
-- ... more code ...
ao.CFrame = ao.CFrame*CFrame.Angles(0,MAIN.CFrame.Rotation.Y,0)