- Home /
My character spawns in spawn point then instantly teleports to random location over and over again.
I need to move my main character in my game from one position to another inbetween levels, however as soon as I try to transform.position him somwhere else. He will move but then instantly teleport to some random point. After this initial glitch, every time I try to move my character by script(and not by playing) he will teleport/snap back to that same random position from before. Now what does not make ANY sense is that the player was never in that position to begin with. Nothing happens there nor nothing will happen, so I do not understand why unity is so persistant in teleporting my player back again and again to this random spot which virtually has nothing in it. If I can't set my player to spawn in different location my game will not work,PLEASE HELP.
You need to show some code for this. Sounds like you're running something in Update that shouldn't be there. Could be a local/global position issue too with a bad parent/child issuing.
Answer by dandatron · Nov 23, 2021 at 08:35 PM
the character is the invector 3rd person script it is not my own code.
Your answer
Follow this Question
Related Questions
FPS Bullet spawn problem 1 Answer
Help with object spawning bug 0 Answers
Problems with instantiate 0 Answers
Instantiate not working? 0 Answers