Why does Terrain.SampleHeight return an extremely low value?
terrain.SampleHeight(player.transform.position) works fine when I move my guy around on Terrain2 but when I try to move around on Terrain1 or Terrain3 it gives a really low value for the height.
As far as I can tell the terrains are structured the same. I can't find anything that makes Terrain1 or Terrain3 different from Terrain2 other than how the surface is shaped and the texture that's used on it. I readded the Terrain Colliders to make sure they matched the terrain. I don't have a clue what I'm doing wrong here.
Your answer
Follow this Question
Related Questions
Change Terrain Heightmap Resolution without Resizing Terrain 1 Answer
Tree Creator Trees + Built-in Terrain + Character Controller = No collision 0 Answers
Terrain thickness doesn't stop fast moving objects 0 Answers
How does one convert a System.Drawing type Bitmap into a compatable terrain heightmap for unity 0 Answers
NPC gets up inside terrain (disconsidering the terrain collider) 1 Answer