Prototype: Portals
2025 / Personal / Unreal

Objective :
Creation of a portal system using Blueprints
Creating portals
For this little project, I wanted to test creating portals using only blueprints. The goal is to allow for two main things:
- you can visualize where you are going to be teleported, the portal is updated in real-time
- you are teleported as soon as you walk into the portal, you can walk back in the portal to get back where you initially were.
In order to avoid the main pitfall of such system, I preferred to work on a first person setup as this allows to not worry too much about the teleportation effects around the character while walking into the portal (which would be another prototype ^^) but if I had to look into it I would be using vignetting in UI as well as some particle effects in order to manage the shift around the character.
For the sake of the exercise, I used a free asset pack from the store so I could use an existing level. In this precise case, the challenge lied in the management of the rotation of the source camera for the portal texture casting. As I realized, there is a rotation bug in the engine that prevents us from having a consistent result with portals that are not facing the same direction. In order to circumvent this issue, I had to add a public variable on each portal to adjust the rotation of the target camera that needs to be manually adjusted in the level.
