How to make turn speed of CFrame.lookat() method slower

Hi there, I have plane that using CFrame.lookat(plane.Position, Mouse.Hit.Position) method and it turns to fast, I want to make it less
maneuverable, how can I make it? thank you for your time and answers

Have you tried lerping or tweening it to the desired CFrame?

You would use tweens for that. The documentation describes them pretty well.
Basically, you can just do something like this:

local tween = TweenService:Create(
   plane,
   TweenInfo.new(2),
   {CFrame = CFrame.lookat(plane.Position, Mouse.Hit.Position)}
)
tween:Play()

If you also want to wait for the tween to finish, you’ll just have to put this afterwards:

tween.Completed:Wait()

Best regards,
Pinker

1 Like