How to make collision to IAnimatedMesh?

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
Mushketer888
Posts: 12
Joined: Sun Feb 25, 2007 6:08 pm

How to make collision to IAnimatedMesh?

Post by Mushketer888 »

How to make collision to IAnimatedMesh and Camera?
...How make to just IMesh and Camera I know,but how to IAnimatedMesh
:?:
I really want some code...
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

u cant!!! :?
dudMaN
Posts: 111
Joined: Fri Mar 02, 2007 6:37 pm

Post by dudMaN »

@Mushketer888: about collsions, Irrlicht has basic collision detection, i think it was something like scenemgr->getCollisionPoint, however it would be better to use a collision and physics library such as Newton(see IPhysics) or ODE.

-dudMan[/url]
Mushketer888
Posts: 12
Joined: Sun Feb 25, 2007 6:08 pm

Post by Mushketer888 »

Ye,that's physics libriaries...Maybe i'll try those... :wink:
thanks!
...but can somebody tell me which Physics library is most prefered?...and some source plz...
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

IPhysics
or
IrrNewt

Look in the Project Announcements section.
Mushketer888
Posts: 12
Joined: Sun Feb 25, 2007 6:08 pm

Post by Mushketer888 »

hm...IrrNewt I supose...i want source code(example)...
my terrain is a IAnimatedMesh...and player also...so I Wan't make a collision between them...
Maybe it is possible to make collision with IAnimatedMeshSceneNode?
jestermax
Posts: 17
Joined: Mon Feb 26, 2007 4:36 pm

Post by jestermax »

I'm just getting settled with Irrlicht, but wouldn't it be possible to use a bounding box collision response from an animated mesh the same as you would with a regular one?

And here's another question to throw into the mix: is there a way to get a callback from a collision response? basically is there a way to define custom collision reactions? or is it as i suspect, limited to using a physics library?
Post Reply