I'm still not sure what you mean exactly, but as mentioned before, Horde IDs and GameEngine IDs are different. So you can't use a h3dXXXX function with a GameEngine ID and vice versa.
h3dGetCastRayResult will store a Horde3D ID in Intersection_Node, so you won't be able to use the value of Intersection_Node in GameEngine::getEntityTransformation
So what can be possible solution or an alternative to it, because i want to find handles to the objects if it comes in a specific range
and then using that handle i want to calculate transformation of that object and if the distance to that specific object will become
lesser then a threshold then i will put that object into obstacle list and as soon as its range increases then threshold i would delete
that obstacle from list.