Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

"I like how it's looking! still one bug (which if anyone can help me out with would be amazing, i can't seem to figure out how to change the direction of the players velocity when they go through the portal.... "

Im going by memory here, but if I recall correctly, you can Get Player Controller -> Set controller rotation. Then use the portal's yaw to set the controller yaw and you should be facing the right direction when you go thru the portal :)

Thats not the problem, the person is facing the right way, but their speed is still in the same direction. I plan to rework it a little bit so that you have to be standing still anyways, but it's a strange bug!

Not sure if that will work but try to use RotateVectorAroundAxis on the player velocity and for angle use the number you get when you compare the two Z rotations of the portals. If you are also rotating some portals in X/Y you would also have to do the same for them.