Making plane be able to do a full roll?

i have made plane crazy
well basically I created this plane flying system that works
currently I’m trying to make it so a plane can tilt 360& degrees but it doesnt rlly work heres the code:

local bank = ((camera.ViewportSize.X / 2) - mousePosition.X) / ((camera.ViewportSize.X / 2) * 20)
data.Part.AlignOrientation.Enabled = true
data.Part.AlignOrientation.CFrame = CFrame.lookAt(camera.CFrame.Position, mousePosition) * CFrame.Angles(0, 0, bank)

and another problem is, that the tilt keeps changing from left to right even if i didnt move my mouse and its still on the left side after like 5 seconds

any help is appreciated

1 Like

ok i fixed the problem but still dont know how to make it be able to fully roll

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.