I've finally gotten the the place where I have to define collision shapes for my 3d models. Currently I only need convex hulls, but I suspect I will need capsules, cylenders, boxes ect...
I'm using FBX SDK for importing and converting to my internal format.
Currently I'm thinking about a naming convention, so If the name of the node begins with _Special_ConvexHull then this geometry will be the convex hull for the physics and not a renderable mesh.
Hulls are fine, but what about a capsule how do I define a capsule? I do not think that there is a such thing as analytic capsule cylinder in FBX? Maybe the *imaginary artist* could create a capsule that is just a triangle mesh and later I would somehow restore the capsule by the defined points(links please, I do not know how to do it :P)?
What is you solution for that thing?
↧