Portal node responds only to horizontal inputs

After updating to 2.0.0, Portal node only triggers when the player moves left/right(horizontal) into it. Moving in from above/below(vertical) does nothing, and a player placed inside the portal at scene start doesn’t trigger it (before the update, simply being inside the collision shape triggered the tranisition). This is critical in topview project.

Hi, I just happened to have teleportation nodes (up and down) in my project. I just tested it, and the teleportation worked smoothly without any contact failure issues. It seems your problem might be more complex.

1 Like

Hi, thank you for testing this. I added a screenshot and video about what exactly happens in sample topview project in my case. (video is in googledrive link)

I’m sorry, but it’s hard to understand what’s happening in this video. I recommend enabling the collision box display in the debug menu to make it easier to identify your teleportation box position. It would also be helpful to show the settings for the teleport nodes.

1 Like

I made collision boxes visible and recorded again the video and uploaded in the new googledrive link. In the video, green box is the portal collision. Although Player sprite is above its collision boxes, I checked player’s attack, hit, collision boxes are all set under the sprite. Player just passes through the green box and nothing happens when it goes down and up, but when player turns right it is sent to the next scene (without any tile yet). And I only set target scene in the portal setting, didn’t modify anything else from the default setting.

For now, please note that it is a new specification that players inside a portal do not transition when the scene starts.

Previously, if the destination overlapped with the portal collision, the transition would trigger immediately. However, this was an unhelpful specification because it could easily cause infinite loops. Therefore, the transition will not trigger until the player has exited the collision area.

Additionally, I noticed in the top-down sample project that horizontal transitions do not occur, which seems to be a bug or a configuration issue. I will investigate this further.

1 Like