Room orientation respective to roomNode

Im currently making a procedural room system by connecting other rooms with random ones using roomNodes places on each entrance.

My main issue is with nodes that are on an angle. When there is a room node at an angle it causes the rooms to fuse weirdly. And i know this is an issue with weird orientation but i dont know how to deal with it.

I’ve tried alot of stuff using cframes but couldn’t get satisfactory results, so im kinda stuck.
image image

(room node for reference)
image

3 Likes

I should’ve dug a little more into the script before making a post.

I ended up fixing this by changing the rotation to be always set to 180 instead of each having its own. I still have no clue why i did that

2 Likes

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