I use the macintosh, so i cant use irrEdit for anything.
I use IAnimatedMesh
and then i use an octree scene node to extract the mesh out of the IAnimatedMesh, and how do i put more then one mesh into the octree scene node triangle selector.
do i use the function createOctreeTriangleSelector(mesh->getMesh(0), qnode, 120)
over and over?
________
Ktm 525Sx
i want to combine IAnimatedMeshes into an octreesnenenode
-
- Posts: 38
- Joined: Tue Aug 21, 2007 6:54 pm
- Contact:
i want to combine IAnimatedMeshes into an octreesnenenode
Last edited by wREAKAILDRON on Tue Feb 22, 2011 6:56 am, edited 1 time in total.
-
- Posts: 38
- Joined: Tue Aug 21, 2007 6:54 pm
- Contact:
was there a mesh buffer that i can dump all my squares into. I did this one program that could come up with random race track, fzero 1 style, and i used these rectangles and an algorthm.
Is there a mesh buffer that i can dump multiple meshes into?
________
X-COUPE
Is there a mesh buffer that i can dump multiple meshes into?
________
X-COUPE
Last edited by wREAKAILDRON on Tue Feb 22, 2011 6:56 am, edited 1 time in total.
You can try this-
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=21971
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=21971
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
I'm not sure I've really understand what you are asking...
You want to load multiples meshes, convert all of them as occtree (I'm assuming that you are loading your level environnement then).
Then the thing you will have to do is add theses triangle selector to a MetaTriangleSelector.
Last thing is to use that MetaSelector in your Collision response animator instead of a selector.
That way all your meshes will be handled for the collision response.
You want to load multiples meshes, convert all of them as occtree (I'm assuming that you are loading your level environnement then).
Then the thing you will have to do is add theses triangle selector to a MetaTriangleSelector.
Last thing is to use that MetaSelector in your Collision response animator instead of a selector.
That way all your meshes will be handled for the collision response.