
This portal uses teleporting a player, and the use of scene capture component. 
There are two actors, a portal manager that handles all the rendering and a portal actor that is what the player will see and interact with to teleport from one side to another.
The portal is a plane, scene capture component and a collision box.  When you begin, make sure that the  scene capture component is using a render target. We use the camera view as the location, to make sure everything is aligned. 
To make the outer edge, aka the rock arch, it is a seperate model, I placed around the plane... It works better with flat shapes like a cube or cuboid like the nether portal in minecraft.. With curves, the portal can collide with the mesh, and well as you see in the above image, you can see a bit of the inside of the rock arch on the other portal.
Since this is a game jam, I want to get a lot of my game done,  rather than clean it up, it works good and performance is nice which is fine.










0 comments