Jump to content

Teleportation sample code doesn't work very well on sloping terrain


Recommended Posts

Within Unity apps: Repeatedly teleporting on sloped terrain sometimes result in the user becoming lopsided. It's very disorienting. I sometimes find myself sideways when trying to navigate terrain which has hills or mountains and I cannot fix the situation by teleporting to more even terrain.    

Link to comment
Share on other sites

  • 2 weeks later...

Thank you for your response. Sorry, for the delay in responding to your post. For the benefit of everyone else who might experience this same problem in the future, my particular app had a rigidbody attached to the game object which was the parent of the camera. I froze the rotation of the parent game object at the X and Z axis and solved the problem that way. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...