Heya, I’ve been trying to work on this swapping mechanic and while what i’ve setup works everytime i change character, the location of the swapped character is move a bit to the left or right depending on the camera location
Try
But it really depends how you’ve coded the player.
Also, I noticed your code is not the same for each pawn
tried that, but has no difference to transform D:
Did you try the controller rotation? Is the camera in the same place? ( relative to the character ).
Is the camera on a boom?
Yeah i’ve tried the controller rotation and as for the camera is the normal basic one.
it is also on a boom.
also controller rotation seems to further break the swap to the point it sends the player out the map
oh also very sorry about such a delay, struggling with wifi right now so i’ve haven been able to make much progress
Looking at your code again, I think I see the problem.
You can’t spawn the new player into the map while the old one is there. They’re going to hit each other.
You can try turning off collision in both players while you make the swap. Otherwise, you’ll need to have a kind of empty pawn that you move to while destroying the first player, and spawning the second player.
funny enough I figured that out right before I saw this XD
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.