ashwin.sudhir Posted September 29, 2011 Share Posted September 29, 2011 Hi, When trying to create a RagDoll for a mesh, I keep getting this error and the RagDoll behaves rather weirdly (it spins out of control). Any idea what could cause this? Is it the mesh itself, or the way it has been rigged? Unfortunately I couldn't find any other info to troubleshoot this issue. Thanks in advance, Ashwin. Ed: Attached the problematic mesh. Repro is easy, try creating a RagDoll with the default convex hull approximation parameters and a mass of 55. MadRat.zip Link to comment
ashwin.sudhir Posted October 4, 2011 Author Share Posted October 4, 2011 Any ideas on this one? One guess is that the mesh/skeleton is malformed...but how can one validate this? -a. Link to comment
manguste Posted October 5, 2011 Share Posted October 5, 2011 ShapeConvex is created based on polygon data and this error is thrown when one of mesh vertices is not valid. Otherwise, convex hulls would have been created normally (for example, you can check it on data/demos/passage/meshes/agent.smesh). Sorry, there are no tools on our side for validating where the problematic vertices. But as a solution, you can create a simplified mesh, with a smaller number of polygons and use it to create a RagDoll. BTW, automatically generated shapes are just a rough approximation - it's just for starters. After that, you need to tweak shapes manually, so that they fit your mesh more accurately. Link to comment
Recommended Posts