Why is the character porting back?
I got a problem with switching characters. I can switch them in the game but if I press the button the new character is at the start point again and not on the location where the old character was.How can I fix it?
asked Jul 27 '18 at 11:33 PM in Blueprint Scripting
My first guess would be that the code after the Destroy node is not executed since this actor will be Pending Kill. You should see some errors in the log.
Consider moving the Destroy node to the end of the execution chain so everything else has a chance to fire first.
answered Jul 28 '18 at 01:05 AM
It's meaningless trying to get the transform of the player controller as far as I know; it doesn't have a physical form and is not in the same location as the player character (as far as I know, the player controller doesn't actually move). Get the transform from the player character instead before you destroy it.
answered Jul 29 '18 at 04:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here