bodyGyro bugs out when going below -20 or 20 degrees in the X axis

https://gyazo.com/49223945b961a4de64d7eb48aa84fca0

As you can see in the gif, when i try rotating on the x axis using my mouse it completely locks out when going above or below 20 degrees, rotating on the y axis continually is absolutely fine though and works perfectly.

	bg.CFrame = CFrame.lookAt(part.Position, Vector3.new(MousePos.X ,MousePos.Y,MousePos.Z))

here is my code, the players camera is locked at the position of a part behind the ship if that provides any more context, its what allows the ships to be able to continually rotate on the axis the player moves their mouse in.

All help appreciated!!

bg.CFrame = CFrame.lookAt(part.Position, Vector3.new(MousePos.X ,MousePos.Y/0.5,MousePos.Z))

Idk how to format on mobile

Nope, still got the same issue. Look at the gif I provided if you havent already :stuck_out_tongue:

1 Like