Sinjaph
12-03-2006 13:24:43
I have a problem with many bodies. I couldnt find anything wrong I guess this is something to do with the debugger of newton. Problem is that first i tried to create a treecollision from a scene with many buildings (only 1 mesh) it seemed that every bulding was connected to each other with a line in the debugger. then i tried to replace the treeCollision primitive with ConvexHull primitives around each bulding( every building a seperate mesh) but the results are the same:

These are the things that I have found:
It seems that the last Collision object created has a free Point moving around weirdly each frame and this body is connected to the previos one with a line and that one is connected to the previos one and so on but this does not go up tp the first body created. I couldnt track where it stops connecting primitives yet.
any ideas?
[EDIT]
I've tracked it. It looks like there is noyhing wrong with the mesh it hapens to do the samw thing no matter which mesh i create after it
these are the infos of the scene upto that point (which works fine):
Total Vertices:39576
Total Indices:74184
[/EDIT]
These are the things that I have found:
It seems that the last Collision object created has a free Point moving around weirdly each frame and this body is connected to the previos one with a line and that one is connected to the previos one and so on but this does not go up tp the first body created. I couldnt track where it stops connecting primitives yet.
any ideas?
[EDIT]
I've tracked it. It looks like there is noyhing wrong with the mesh it hapens to do the samw thing no matter which mesh i create after it
these are the infos of the scene upto that point (which works fine):
Total Vertices:39576
Total Indices:74184
[/EDIT]