Solution for Collision detection. any?

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
klaudia
Posts: 20
Joined: Thu Jun 18, 2009 2:39 pm

Solution for Collision detection. any?

Post by klaudia »

Hello
anyone have easy solution, how made collision only for
selected faces (by materials).

i got this:

Code: Select all

		selector = smgr->createOctTreeTriangleSelector(
				q3node->getMesh(), q3node, 128);
		q3node->setTriangleSelector(selector);
then its possible, somehow exclude some faces, by materials, or similar?
example: i got simple room, and i want there make curtains as uncollidable.

Is there exist something like:

Code: Select all

selector = smgr->createOctTreeTriangleSelector(
               q3node->getMesh(),
               q3node, 128, (((list_of_materials_to_exclude_collision))) );
??
Post Reply