cancel
Showing results for 
Search instead for 
Did you mean: 

Teleporting changes height

RRachelRR
Honored Guest

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 2

jkbvdfv.2023
Honored Guest

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.

jkbvdfv.2023
Honored Guest

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.