CFrame.Angle(0, math.rad(180), 0) causing misrotation sometimes

You would better understand my dungeon if you had the entire code but has I said I don’t want to attract other competitors that’s the issue man

2 Likes

Well I’ve made about 50 of them and I know all to well how complicated that can get.
One other way is to have premade doors that work for each angle the door may end up. Then you clone in the right door per what wall it’s on.

2 Likes

Nope still piece faces the sky

2 Likes

TestHatch.rbxm (27.6 KB)
Take a look at this … using a hinge. This can be at any angle and still work as intended.
This is a hatch for a spaceship I needed to work at any angle.

2 Likes

try CFrame.fromEulerAnglesXYZ()
if that doesnt work the doors original cframe could be something else that messes it up
and also you should add prints for every cframes and debug it and see what you can do with that info

2 Likes

alright I am in the process of checking piece rotation and if I see the issue again I’ll try this

1 Like

TYSM IT SOLVED MY PROBLEM MAN FOR GOOd

1 Like

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