I'm not sure what to do here. There is a lot more to this script, just to warn you, but it seems no matter what I do, the brick that is being rotated by another value is not rotating like it should no matter what I do.
Part of script:
brick.CFrame = CFrame.new(keyframes[i].Position.Value) * CFrame.Angles(keyframes[i].Rotation.Value.X / (math.pi * 2),keyframes[i].Rotation.Value.Y / (math.pi * 2),keyframes[i].Rotation.Value.Z / (math.pi * 2))
I am aware that CFrame.Angles() rotates things by radians, but how would I turn it into degrees?
Thanks,
-Bogy |