Ogre Version: 1.11.8
Operating System: win10
Render System: dx9
I followed the intermediate tutorial 3 in order to make the entity picking using the bounding boxes; the entities I check are create sprites created from manual mesh and with texture rotation like the billboard, i created also the boundingbox around the entity a bounding box of more or less -60 as minimum and 60 as maximum.
All work fine until the entity is at short distance, but move far from the entity, gradually i have positive ray from outside the bounding box of entity, on the left or on the right, and negative clicking inside the the bounding box frame. Thia "offset" seems pretty much casual, it changes according the distance, and angle of entity respect the camera (in some case I have never positive return until i move the camera).
I wonder if I did something wrong or there're factors which influence the result: FOV value can impact? is necessary update the bounding box every update of vertex of entity (the dimension doens't change but I change rotation and texture coordinate), update the node world bounding? there're limits to the precision of raycasting for tiny entities at long distance?
thanks for every suggestion