segfault when pciking node from screen coord

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

segfault when pciking node from screen coord

Post by rogerdv »

When I try to use getSceneNodeFromScreenCoordinatesBB in an scene created using addoctreescenenode I got a segment violation. Is there a different way under octree scenes to pick a node from the screen coordinates?
ru guo ni yao ai, ni jiang bu hui shi qu
madinitaly
Posts: 92
Joined: Sat Nov 29, 2003 8:30 pm
Contact:

Post by madinitaly »

Did you try to cast a ray and then use getSceneNodeFromRayBB?
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

Post by rogerdv »

Same effect, i can get the ray, but when I try to get the node from the ray, the app crashes.
It worked perfectly before adding the nodes to the scene as octree nodes.
ru guo ni yao ai, ni jiang bu hui shi qu
Post Reply