Help with cframe.angles()

I got a question, I’m making a bike system right, the trouble is, when rotating the Z axis the * CFrame.Angles, keeps adding 3 + 3 + 3 +3 etc… to the angle, any idea how to fix it (to make it get stuck in 3)?

a bit of code;
which is making this work
x = (CFrame.fromMatrix(Chassis.MeshPart.Position,Chassis.MeshPart.CFrame.RightVector,Chassis.MeshPart.CFrame.UpVector,Chassis.MeshPart.CFrame.LookVector) * CFrame.Angles(0,math.rad(-3),0)) * [[here]] CFrame.Angles(0,0,math.rad(-3)) [[it keeps adding 3 to the angle and it make it falls!]]

It still would do the same, that’s not rlly the solution and it would keep rotating till it falls

You could store the state of the bike (ex tilted left, tilted right). I would need to know more about your situation to give you a better solution.

1 Like