Page 1 of 1

Collision Help ! ! !

Posted: Tue Aug 08, 2006 3:28 pm
by Ray_X_Zero
Can someone here help how to implement collision detection. Irrrlicht collision example included on the engine is to advance.
For example two moving CUBE reversing direction when colliding each other.
Mostly i'm only using .X Model for static and animated mesh, I don't often use OCTREESCENE node.

Posted: Tue Aug 08, 2006 8:03 pm
by juantar
Try the ODE or the Newton tutorials in the tutorials page.

Posted: Thu Aug 10, 2006 2:53 pm
by Ray_X_Zero
How can I implement simple mesh to mesh collsison detection without using physics.

Posted: Fri Aug 11, 2006 6:19 pm
by Valtras
Huh... there is way:
Create triangle selector for each node. you have box1 and box2, selector1 and selector2 and levelselector. selector1 have levelselector and box2selector. selector2 have levelselector too and box1selector. More nodes - more selectors creating - less performance. Its highly recomened to use physics engine instead of irrlicht detection.

ps. why irrlicht developers create their collision? Its useless, and every serious project will use normal physics engine... waste of time, guys :]

Posted: Fri Aug 11, 2006 11:08 pm
by bitplane
sure, its limited as you can't just throw hundreds of collidable nodes into a scene and expect irrlicht to deal with it, but would you really want to convert all your meshes and include a full physics engine just to be able to click on something or walk around a map?
its not useless, just not as useful as a full featured physics engine. for example this uses a lot of irrlicht collision, it just does it carefully.. edit: ok bad example, but thats a lot of bullets ;)