I want to be added collision set of *.Irr format.

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
WarStomp
Posts: 5
Joined: Sat Nov 18, 2006 2:25 am
Contact:

I want to be added collision set of *.Irr format.

Post by WarStomp »

I read meta collisions, and some say 'IRRLICHT is graphic engine'.

But I want to be added collision set(structures, functions...) of *.Irr format.

example,

0 : A = ...->loadScene("../../xxx.irr");
1 : B = ...->createIrrTriangleSelector( ..., A, ...);
2 : C = ...->createCollisionRes....( ..., B, ... );
3 : ...addAnimator(C);
4 : C->drop();

hehe. Please~
bull
Posts: 36
Joined: Wed Sep 12, 2007 8:49 am
Location: s1Ng4p0R3

Post by bull »

Irredit is a scene editor, not a mesh editor. It is your job to decide what object to collide with, what not to.

You can set the id/name of scene nodes that you want to create triangle selector to some certain value. After loading the scene, run through the whole scenegraph and create a meta triangle selector.
Post Reply