Move physic origin point and no-convex objects (Detritus)

jpeg

10-03-2010 13:45:35

Hello everybody,

I'm a rookie with NxOgre and Ogre3D and i need some help despite my researches.

My first problem is following :

I have a mesh no convex (ex: "C") and i'd like have a good detection of collision with other objects. All objects are dynamic, so I can't use TriangleMeshes. There are Convex (i see your posts in this forum) but because of the object shape, it doesn't work. I also see that it's possible to use several shapes. I don't understand the examples present on this forum because functions are not the same (my version is Detritus). Somebody can help me ?

My second problem is :

I have object which have origin point out of it. The physic box takes like origin point coordinates this point (ex: O(0,0,0)). It's possible to move the physic origin point inside the object (center) ? How must I do it ?

I'm sorry for my poor english, and i thank you in advance for your help.