Set MyCharacter same rotation than another object

So I want to teletransport MyCharacter to a target. The location respect it fine but I wish also to copy the target’s rotation…

I’ve saved in a var the Transform of the target, for then apply it to MyCharacter, but don’t get the expected result, always show in different axis.


I suppoused the transform of the player is also in world space…
Somebody can guide me what I’m doing wrong and how fix it?