How can i create the collision for IAnimatedMeshScene Node ?

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
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

How can i create the collision for IAnimatedMeshScene Node ?

Post 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 ??
sgt_pinky
Posts: 149
Joined: Sat Oct 14, 2006 11:20 am
Location: Melbourne, Australia

Post 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.
Intellectuals solve problems - geniuses prevent them. -- Einstein
#irrlicht on irc.freenode.net
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post 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.
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

Post by EVO_Nova »

Thank you
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

Post by EVO_Nova »

Thank you
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

Post by EVO_Nova »

Thank you ^_^
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

Thanks

Post by EVO_Nova »

Thank you ^_^
Paradigm^
Posts: 6
Joined: Tue Oct 17, 2006 2:53 pm

Post by Paradigm^ »

I like your enthusiasm :D

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.
EVO_Nova
Posts: 5
Joined: Mon Nov 27, 2006 7:58 am

THX

Post by EVO_Nova »

Thx Paradigm^ , your suggestion is useful for me ^_^
Post Reply