I made a couple rooms for a game mainly for me and my friends to play but one of the rooms are generated to the left a little bit I tried everything and it wont fix it here is an image of it.
Keep in mind I’m not building this a script is.
we kinda need the code where the script is actually building this map to understand the issue…
from what i can tell right now though, it may be a simple issue with moving wall clones not far enough to meet up with other walls, or if you’re cloning whole random segments of rooms, maybe this specific room segment type isnt aligned to that central part correctly.
this specific room segment type seems to be the troublemaker, what is its name? try manually building a map yourself, lining this segment up with others as the script would normally, and see if the walls still move out of line with the other room segment types. if so, this is definitely due to the room segment model being unaligned with the central part, and you will need to move it back in alignment.
I just built it and yeah it does look like I have to move it
But If I put it the way its suppose to be this is what the center looks like
no problem, just take the center out of your model, move it into place with the other centre and then put it back into the model (so that it wont move the whole room segment back into the wrong spot)
I did that but It looked perfect here but not in game
In game
are you sure both the room segment and central part are aligned correctly? also, it looks kinda similar to the first image, no offence but are you sure you didnt forget to put this new fixed model back into the place in which the script clones from to create the map?
you can check if its properly aligned by putting a different room segment type in the exact same spot and see if the walls of the aligned room segment and this current room segment are in the exact same position when their central points are placed in the same position.
I double checked and it turns out I did forget to save the part in the position cause what I did was I used the back arrow to put it back in its original space but that also put the center back.
It works now Thanks!!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.