Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
RRachelRR's avatar
RRachelRR
Honored Guest
3 years ago

Teleporting changes height

I'm currently trying to implement teleportation between teleportation points in Unity. The teleportation itself works fine, but the height of the player controller keeps changing. I first thought it might have to do with collision since some of the points are close to furniture objects with colliders, but it also happens if i teleport to empty spaces.

Has anyone encountered this before and knows how to fix it?

2 Replies

Replies have been turned off for this discussion
  • It sounds like the issue might be related to the position of the teleportation point and the height of the player controller. When you teleport the player to a new point, the position of the player's feet may not always be at the same height as the teleportation point. To fix this, you can try adjusting the height of the player controller after teleporting.

  • Yes, the issue you're experiencing with the player controller's height changing after teleportation is a common problem in Unity. It can occur due to a variety of reasons, including incorrect positioning, collision interactions, or incorrect handling of the player's position.