CFrame.Angles Not Working

Hello developers, My part was not rotating properly looking like this
image
the spikes should be going from the player out this should be a 90 degree rotation so I wrote this


and now it rotates like this

if i changed it to rotate 85 degress it looks like this

Could Somebody explain what is going on for me?

What are you trying to do?
Maybe try rotating them on the negative axis…? I’m not really sure what the issue is, if you could print the parts rotation it would help.

I am trying to rotate the three parts across from each other it should look like this after i rotate it 90 degrees
image

Ah, so you are trying to get all of them to align and have the rotation look the same? If this is the case, the rotation is likely different on the parts you are cloning, try setting the rotation on all of them to be the same.

CFrame angles uses radians. What I do is:

CFrame.Angles(0, math.rad(90), 0)
1 Like

I completely forgot about this thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.