Once again I'm stuck...I'm trying to make my custom scene nodes selectable using different methods, such as:
Code: Select all
scene::ISceneNode* pNode = 0;
core::line3df collRay;
core::triangle3df collTriangle;
core::vector3df collPoint;
collRay = smgr->getSceneCollisionManager()->getRayFromScreenCoordinates(receiver.GetMouseState().Position, smgr->getActiveCamera());
pNode = smgr->getSceneCollisionManager()->getSceneNodeAndCollisionPointFromRay(collRay, collPoint, collTriangle, 0, 0);
Code: Select all
smgr->getSceneCollisionManager()->getSceneNodeFromScreenCoordinatesBB()
Code: Select all
smgr->getSceneCollisionManager()->getCollisionPoint()
Trust me, I've been through a lot of forums and topics, and the only answers I found were to change my custom node for something else...Which I absolutely don't want !
Billy