Simple Portals

Hello.
This is basic behavior of portal functions. How vectors converted into portal space and from it.
Here is PortalConvertDirection

https://d26ilriwvtzlb.cloudfront.net/7/7a/Pfb_01.jpg

and PortalConvertLocation fuctions

https://d26ilriwvtzlb.cloudfront.net/c/c7/Pfb_02.jpg

It using TransformDirection, InverseTransformDirection, TransformLocation and InverseTransformLocation functions that includes scale in new transform calculations.
There are their analogs in C++ that not using scale.

Additionally, player character handles teleportation itself.
Blueprint’/Game/GameMode/FirstPerson/BP_FirstPersonCharacter.BP_FirstPersonCharacter’
In function TeleportationAdvanced you can find how it changes self velocity, location, rotation and scale according to portal parameters.
Well, it is very basic example of how it should be handled, but I hope you will find it useful.

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_182748_1580712331436_236”,“title”:“20200203_0844.jpg”}[/ATTACH]