Animating a plane

Hello everyone, I have made a plane that follows your mouse. The plane works perfectly but the problem is that when it turns to the sides it doesnt rotate, this is what I mean:
https://gyazo.com/24c69a93e65094d337b511dd68a9acdd
And I want it to rotate like this too:
https://gyazo.com/0a93ebba37e270a7f100ce0b85ad8fab
Is there any way of doing this?

Thanks for reading!

1 Like

When it turns change the orientation to whatever it is when you turned it in the second video.

Well… Can we see your code or will that be an issue?

1 Like

This is the script im using to rotate the plane.

local model = script.Parent.Model.Value
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local bg = model.Main.BodyGyro
local velocity = model.Main.BodyVelocity

while wait(0.1) do
	bg.CFrame = CFrame.new(model.Main.Position, mouse.Hit.Position)
	velocity.Velocity = model.Main.CFrame.LookVector * 85
end