Page 1 of 1
How can i create the collision for IAnimatedMeshScene Node ?
Posted: Mon Nov 27, 2006 8:03 am
by EVO_Nova
I am the beginner. I don't know how can I create the collision for my IAnimatedMeshScence Node. Is it the same or different from create the collision for the terrain ??
Posted: Mon Nov 27, 2006 8:33 am
by sgt_pinky
Irrlicht doesn't have a collision method for animated meshes (yet) - only static meshes. You will have to use an external mesh collision library to accomplish that. If you are thinking of implementing physics at a later date, you might want to try
ODE or
Newton for example.
Posted: Mon Nov 27, 2006 8:51 am
by Luke
Well, while your learning and if you just wanting basic collision, have a look at ISceneCollisionManager in the help files,
getCollisionResultPosition() maybe helpful for what you want.
Posted: Mon Nov 27, 2006 1:10 pm
by EVO_Nova
Thank you
Posted: Mon Nov 27, 2006 1:10 pm
by EVO_Nova
Thank you
Posted: Mon Nov 27, 2006 1:11 pm
by EVO_Nova
Thank you ^_^
Thanks
Posted: Mon Nov 27, 2006 1:11 pm
by EVO_Nova
Thank you ^_^
Posted: Mon Nov 27, 2006 1:29 pm
by Paradigm^
I like your enthusiasm
If you don't want to look into using an external physics library, I've had some success using bounding boxes (createTriangleSelectorFromBoundingBox). It's not a perfect solution but it's worked for me so far.
THX
Posted: Wed Nov 29, 2006 3:03 am
by EVO_Nova
Thx Paradigm^ , your suggestion is useful for me ^_^