Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

The camera glitches when I look up or down?

Asked by 1 year ago
Edited 1 year ago

Here's the example of the problem https://streamable.com/r5nxno

-- This is what I did.
local Direction = DronePart.Position + (Mouse.Hit.Position - Camera.CFrame.Position) * 2
local BodyGyro = DronePart.BodyGyro

BodyGyro.CFrame = CFrame.lookAt(DronePart.CFrame.Position, Direction)

I would be very grateful for any assistance.

Answer this question