Hello I was stuck on this problem last year and left it because i couldn't proceed.
And now again i am supposed to continue with the same problem.
If I describe my problem in simple words it would be that. i am using
Code:
h3dGetCastRayResult(i, &Intersection_Node, &distance, &intersection))
I am returned with handle of the object in the variable "Intersection_Node" now i want to use this handle for calculating the transformation of the object [e.g wall] using this variable [i.e. Intersection_Node] but the code gives me exception.. I use following function for calculating transformation
Code:
GameEngine::getEntityTransformation(Intersection_Node);
If I use handle to an object obtained by another way and use it in the function. GameEngine::getEntityTransformation(handle) then it calculates me the transformation and it works properly but I have problem calculating the transformation only when I am using the handle obtained through the function h3dGetCastRayResult().
I want to use this h3dGetCastRayResult() function to get the 10 objects close to me in a range and then by this function GameEngine::getEntityTransformation(Intersection_Node); i want to calculate transformation of thos objects through their handles [i.e Intersection_Node].
I have no luck with it and now I want to solve it some how I will appreciate any one's solution.
Thank you