Night Elf
07-09-2007 22:40:44
I'm using the RayCaster like this
But I'm getting an empty rayCaster.mReport. Should this work?
NxOgre::RayCaster rayCaster(
src,
dir,
length,
NxOgre::RayCaster::RCT_ALL,
g_nxScene);
if (rayCaster.castShape(NxOgre::RayCaster::AF_NONE))
{
for (NxOgre::RayCastHit* aHit = &rayCaster.mReport._begin(); !rayCaster.mReport._atEnd(); aHit = &rayCaster.mReport._next())
{
...
}
But I'm getting an empty rayCaster.mReport. Should this work?