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