Dale_ee
20-09-2006 17:38:57
When I do SceneQueries on my terrain I sometimes get (-1,-1,-1) intersection point, though camera is above correct tile, and mouse is pointing at correct tile too.
This problem occurs spontanously, and not really often, but I want to find a reason why this is happening. Down the sources I found, that Vector3(-1,-1,-1) is returned when rayStart isn't above/below terrain tile, so I added DebugText showing me current Page and current Tile on this page.
All the page/tile information was correct, so I couldn't trace the error
I use precompiled dll and lib files, so I can't debug it normally. Maybe it's time to add PLSM2 project to my solution
This problem occurs spontanously, and not really often, but I want to find a reason why this is happening. Down the sources I found, that Vector3(-1,-1,-1) is returned when rayStart isn't above/below terrain tile, so I added DebugText showing me current Page and current Tile on this page.
All the page/tile information was correct, so I couldn't trace the error
I use precompiled dll and lib files, so I can't debug it normally. Maybe it's time to add PLSM2 project to my solution