Teleporting a FPSController Character Instantly teleports back to the previous Position
I was having this problem were I used the "regular" Collide then teleport script
public class Respawn : MonoBehaviour
{
[SerializeField] private Transform SpawnPoint;
[SerializeField] private Transform Player;
void OnTriggerEnter(Collider other)
{
Player.transform.position = SpawnPoint.transform.position;
}
}
But The "Player" would Teleport for a millisecond and flash the view from the SpawnPoint, but then Teleport back instantly to were it was before.
I opened up a fresh new Unity Project, used the stock cube to stand on, stock cube to set as the "Death" collier and used a completely "stock" FPScontroller. Can someone Please Help Me? Is there some Weird Setting or something?
I found that Using the Rigid body FPC works but all the controls and physics are then based of on Neutonion physics and that isn't the BEST case for me is there any way to get the Fps Controller character to work properly with Transforms?
In Project Settings->Physics, check Auto Sync Transforms checkbox
Your answer
Follow this Question
Related Questions
Teleportation script isn't working correctly when I go through my object trigger, I don't know why. 0 Answers
Struggling with creating a Slender-like AI (Creating this for educational purposes) 0 Answers
Teleportation with gun 2 Answers
Google VR: Teleport the GVRMain Camera on a plane after looking on specified Cube to another Plane 0 Answers