RedEyeCoder
12-05-2009 05:43:57
Does NxOgre having raycasting? I can see that NxScene has raycastClosestShape, however that returns an NxShape (which apparently NxOgre does not seem to use directly.
What I need to do is associate an Ogre::MovableObject with an NxShape, so that I can lookup what object has been hit by raycasting. Or something that achieves that affect.
I searched for raycasting/raycast etc but the results are mostly out of date references to code that quite obviously is not used/supported anymore.
Cheers.
What I need to do is associate an Ogre::MovableObject with an NxShape, so that I can lookup what object has been hit by raycasting. Or something that achieves that affect.
I searched for raycasting/raycast etc but the results are mostly out of date references to code that quite obviously is not used/supported anymore.
Cheers.