I try to do a simple teleport action and set the position of the player on key press to a location. I´m using a 3rd person character and camera controller from the asset store with various components. So, for the teleportation to even happen, I need to deactivate a script that controls the character (RPGController in the screenshot).
All works fine, except when I reactivate the character control script and the end, the player object is placed back to the original position where he was right when the action started.
I already tried to access the script in question and find variables for the position and replace them with mine, but I´ve found nothing. I also tried deactivating the whole player object with all needed script for controls, but as soon as this one script is activated again, the player is ported back.
This might be a general "problem" but I have no idea how to solve it and could need some advice !