getSceneNode...FromRay with EJUOR_CONTROL animated model?

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
lulzfish
Posts: 34
Joined: Sat Aug 15, 2009 8:19 pm

getSceneNode...FromRay with EJUOR_CONTROL animated model?

Post by lulzfish »

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.
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?
CuteAlien
Admin
Posts: 9933
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: getSceneNodeAndCollisionPointFromRay with animated model

Post by CuteAlien »

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
lulzfish
Posts: 34
Joined: Sat Aug 15, 2009 8:19 pm

Re: getSceneNodeAndCollisionPointFromRay with animated model

Post by lulzfish »

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.
Is the somber dream of the Grim Reaper a shade Darker Than Black?
Post Reply