Trying to sidestep the issue
This commit is contained in:
@@ -60,7 +60,7 @@ function doorUtility.CreateDoorPair(handle, roomOne, Xone, Yone, roomTwo, Xtwo,
|
|||||||
|
|
||||||
--move the character
|
--move the character
|
||||||
characterAPI.SetRoom(entity, roomTwo)
|
characterAPI.SetRoom(entity, roomTwo)
|
||||||
characterAPI.SetOrigin(entity, Xtwo, Ytwo-16)
|
characterAPI.SetOrigin(entity, Xtwo, Ytwo+16)
|
||||||
networkAPI.PumpCharacterUpdate(entity)
|
networkAPI.PumpCharacterUpdate(entity)
|
||||||
|
|
||||||
--disable the other trigger
|
--disable the other trigger
|
||||||
@@ -77,7 +77,7 @@ function doorUtility.CreateDoorPair(handle, roomOne, Xone, Yone, roomTwo, Xtwo,
|
|||||||
|
|
||||||
--move the character
|
--move the character
|
||||||
characterAPI.SetRoom(entity, roomOne)
|
characterAPI.SetRoom(entity, roomOne)
|
||||||
characterAPI.SetOrigin(entity, Xone, Yone-16) --NOTE: the 16 pixel margin for presentation
|
characterAPI.SetOrigin(entity, Xone, Yone+16) --NOTE: +16 should prevent double collision issues
|
||||||
networkAPI.PumpCharacterUpdate(entity)
|
networkAPI.PumpCharacterUpdate(entity)
|
||||||
|
|
||||||
--disable the other trigger
|
--disable the other trigger
|
||||||
|
|||||||
Reference in New Issue
Block a user