Exact Collision Detection beetween 2 Objects?

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
Squarefox2
Posts: 67
Joined: Mon Feb 02, 2009 10:19 am

Exact Collision Detection beetween 2 Objects?

Post by Squarefox2 »

Hello,

I'm wondering, if there is any solution to detect exact collisions (polygon to polygon) beetween 2 objects in Irrlicht...?

Another Question: If I'm creating a triangle selector from an animated node and attach it to it -
does the triangleselector will adapt correctly when the animated mesh changes it animation state?

Greetings,
Squarefox
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Exact Collision Detection beetween 2 Objects?

Post by CuteAlien »

Squarefox2 wrote:Hello,

I'm wondering, if there is any solution to detect exact collisions (polygon to polygon) beetween 2 objects in Irrlicht...?
No, you will have to use some collision-library for that (most physics engine have one build-in). Though it's rarely used in realtime due to slow speed.
Squarefox2 wrote: Another Question: If I'm creating a triangle selector from an animated node and attach it to it -
does the triangleselector will adapt correctly when the animated mesh changes it animation state?
Yes. Check example "07.Collision" and select the fairy and you can see that in action.
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
Post Reply