orient entrance to reflect previous exit orientation
This commit is contained in:
@@ -38,8 +38,9 @@ namespace Escape_Room_Engine.Engine.Scripts
|
||||
{
|
||||
toIn = door;
|
||||
|
||||
// to make sure the origin of the player doesn't move, the two doors must be placed in the same location
|
||||
// to make sure the origin of the player doesn't move, the two doors must be placed in the same location in the same orientation
|
||||
toIn.PlaceRoomRelative(rrPosition);
|
||||
toIn.orientation = fromOut.orientation;
|
||||
|
||||
Logger.Log($"Connected passage to {door} at {rrPosition} (RR)", LogType.PassageConnection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user