My CFrame Angle Z is not doing the right angel !?


Okay so basically I want this to be a barrier and it should flat but instead it just does a weird angle I tired changing things and still dont work, all im doing is a placement system with the local mouse.

1 Like

did you set CanCollide to false so it doesnt do anything weird? now you’d have to set up a collision group so it doesnt go through the baseplate but i think it might fix it

The part is turn off for the cancollide and the part follows the mouse around so whatever surface u go on it will be on top of that surface

CFrame angles don’t take degrees, they take radians.
If you want to rotate it 90 degrees with CFrames then it would be math.rad(90)

1 Like

Yeah, math.rad(90) or math.pi/2.

A cool impossible shape lol.