I've been using getSceneNodeAndCollisionPointFromRay to find the intersection of a ray and a model, but it doesn't seem to work with animated models. Is there a way to do this? Or will I have to implement it myself somehow?
I suppose it would require CPU skinning, which is why it's not implemented.
Edit: I tried some different things and it seems that getSceneNodeAndCollisionPointFromRay works fine with pre-animated models, but not with models that use EJUOR_CONTROL.
getSceneNode...FromRay with EJUOR_CONTROL animated model?
getSceneNode...FromRay with EJUOR_CONTROL animated model?
Last edited by lulzfish on Wed Sep 05, 2012 3:50 pm, edited 1 time in total.
Is the somber dream of the Grim Reaper a shade Darker Than Black?
Re: getSceneNodeAndCollisionPointFromRay with animated model
Hm, can't tell right now without a test-case, but enabled debug-display of bounding-boxes to check if those are updated correct.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: getSceneNodeAndCollisionPointFromRay with animated model
Yes, they are.
Edit: I'm using 1.7.3, and I'm going to see if I have this problem in the current SVN.
Edit: I'm using 1.7.3, and I'm going to see if I have this problem in the current SVN.
Is the somber dream of the Grim Reaper a shade Darker Than Black?