I have 4 terrain tiles in my scene, and im trying to get the height where im over so I used:
terrHeight1 = Terrain.activeTerrain.SampleHeight(objpos.transform.position);
This i thought worked untill I noticed it would go to 0 which I new was wrong, what I did realise is it was only working on 1 terrain tile (the main one).
So what I need to do is check which terrain im “over” before I do the SampleHeight?
how do I do this?
Thanks
Andy