Help! Collision detection with Newton and .irr! HOW?

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.
cassini
Posts: 68
Joined: Thu May 12, 2005 2:40 pm

Post by cassini »

jhend60 wrote:I have done what you have suggested above, but how will I use this with Newton? I need to get the Mesh itself, and I can't simply use ->getMesh. I am using the tutorial here: http://www.irrlicht3d.org/wiki/index.ph ... nDetection as a base for my code. I have got it to work with separate 3d meshes (3ds) but cannot get the mesh from the irr scene. How will I return the mesh to Newton so I can create the collision from the mesh?
Thanks. I am (slowly) learning how to use irrlicht and it's functions.
If you are going to use Newton, instead of Havok which is free, your best bet is asking for help over the Newton forum, I got help went I had problems.
Newton is in fact in active development, just ask for the 2.0 SDK update.
I see the developers posting demos in regular basics, here is one of latest with convex collision in action.
http://fr.youtube.com/watch?v=fp0fFOZH- ... re=related
http://www.newtondynamics.com/forum/vie ... 205#p34205
Lambda
Posts: 126
Joined: Wed Feb 27, 2008 3:00 pm
Location: Spain, Huelva
Contact:

Post by Lambda »

SwitchCase wrote:Another thing...

You may run into problems using irrlicht's IMesh as a mesh description for Newton collision objects - the getMeshBuffer() member function of IMesh can be used to get hold of the vertices and indices of a mesh so that you can then "convert" the mesh into one that works with Newton.

Your also likely to run into problems using Newton itself - since Newton is no longer developed (or so it seems), it's going to become increasingly difficult to get support - I suggest looking at alternative physics libs at some point - I personally recommend Bullet.

[EDIT]
Your "weird errors" are unlikely to be anything to do with loading a scene from .irr files - it shouldn't make a difference.
there is a Newton 2 private beta :) Newton still in development
Image
SwitchCase
Posts: 170
Joined: Sun Jul 01, 2007 11:41 pm
Location: Manchester, UK

Post by SwitchCase »

So it is still actualy in dev, that's good news - i do like Newton :P
Post Reply