2
\$\begingroup\$

I built a teleporter that changes a players position and rotation. He is instantly teleported back. Why?

I'm using the standard FPS Controller.

\$\endgroup\$
2
\$\begingroup\$

After hours of descending into madness, i found a comment on a youtube video that mentioned, that CharacterController has a bug that causes this problem when using Move() and similar methods.

Fix: use Physics.SyncTransforms() before doing that or set the Auto Sync Transforms option in the settings.

Credits to the youtube-comment i could not find anymore.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.