Code: Select all
irr::core::line3df ray = device->getSceneManager()->getSceneCollisionManager()->getRayFromScreenCoordinates(clickPosition, FPScam);
Code: Select all
irr::core::line3df ray = device->getSceneManager()->getSceneCollisionManager()->getRayFromScreenCoordinates(clickPosition, FPScam);
you are right it work when you use irrlicht collision detectorCuteAlien wrote:That would be a bug. But I don't really expect it as the collision demo is using a fps camera and works.