Rotate character after teleporting

I’m making a simple portal to teleport , i’ve figured out the simple part of simply relocating the actor when it collides with the portal itself, but, for soem reason im not being able to make it rotate with the direction of the second portal.
For the teleportation method I created a variable in the portalBP which is an Actor (the destination portal)
Here i post 3 images: the map as it is, the portalBP’viewport and the portalBP’s graph…
(map)


(viewport)

(graph)

In the graph image(last one) i show 3 diferent methods I tried to rotate the character, noone of them worked.
I know this has been answered… quite a lot of times, but i can’t seem to find a solution.
Thanks in advance.

Try using SetControlRotation instead of SetActorRotation.

You mean like this? It doesn’t work

No, this is not “SetWorldRotation” of a component, but “SetControlRotation” of a controller.
2022-02-02_21-09-54
2022-02-02_21-10-29

3 Likes

I was doing this a while ago and also having problems, the only way I eventually found that worked was to make the player look at something after teleporting.

3 Likes

It worked, thank you!

1 Like

Can you like and accept my answer?

1 Like

我弄了一天了,直到你的出现。 非常感谢 :+1: :+1: :+1: :+1: :+1: :+1: