terrainSceneNode rotation + getHeight()
terrainSceneNode rotation + getHeight()
I did multiple tests, when I rotate the terrainSceneNode mesh, the getHeight function return a wrong result.
-
- Competition winner
- Posts: 687
- Joined: Mon Sep 10, 2012 8:51 am
Re: terrainSceneNode rotation + getHeight()
I ran tests too, even without rotating, transforming, or changing the scale. It's messed up. I guess you could avoid using it for now or try to fix it yourself. The file you would need to fix is:
CTerrainSceneNode.cpp
The getHeight() function starts on line 1351.
CTerrainSceneNode.cpp
The getHeight() function starts on line 1351.