Hello,
I found an unfortunate bug the adjustHeight implementation which doesnt work for positions bigger than I think 1,1. I tried it in the collision terrain demo and its active there as well.
Thanks,
Kajos
It could be a bug in the collision test case. Can you replicate it in TerrainTestModifyHeight?
The bug is in TerrainTestCollision, for some reason not in TerrainTestModifyHeight.
I think it is the code specific to TerrainTestCollision. It is some old test stuff I threw in there and didn’t remove.
As far as I can tell, adjustHeight is working fine in other places. So I will just remove it from TestCollision.
Thanks for finding it kajos!
cheers
No problem, just so you’d know