CFrame:ToAxisAngle() doesn't work

According to the CFrame article on the dev hub:

CFrame:ToAxisAngle() Returns a tuple of a Vector3 and a number which represent the rotation of the CFrame in the axis-angle representation

But when I use CFrame:ToAxisAngle(), it only returns a vector3, the number is missing!

Are you sure? I did some testing and the number is the second parameter.

I didn’t knew there were 2 parameters. I thought there were 4 parameters. That’s why I was getting nil…

1 Like