forked from bartvdbraak/blender
0020de72e4
A btBvhTriangleMeshShape object is created when converting a mesh to physics, also in case of Soft body although the soft body will not use it (it only uses the mesh interface). This patch keeps this system for compatibility with the KX converter but avoids the creation of the BVH structure, which consumes a lots of CPU. This should speed up significantly the conversion of large mesh to softbody. A secondary optimization is that the sharing of shapeInfo is extended to rigid body using gImpact. Before it was only active between static body and soft body. |
||
---|---|---|
.. | ||
CcdGraphicController.cpp | ||
CcdGraphicController.h | ||
CcdPhysicsController.cpp | ||
CcdPhysicsController.h | ||
CcdPhysicsEnvironment.cpp | ||
CcdPhysicsEnvironment.h | ||
CMakeLists.txt | ||
Makefile | ||
SConscript |