Allow Bullet soft bodies to be created using a AddObject actuator. Added a fake world coordinate system to game soft bodies, although the vertices are already in world space.

Added Bullet/Gimpact concave collision detection to Blender. If your build system isn't updated yet, please add extern/bullet2/src/BulletCollision/Gimpact/*
This allows moving/dynamic concave triangle meshes (decomposing meshes into compound convex shapes, and using 'compound' shapes is still preferred)
This commit is contained in:
2008-09-26 02:27:59 +00:00
parent 6732718ef1
commit a1bef84ea8
55 changed files with 14429 additions and 46 deletions

View File

@@ -47,7 +47,7 @@ void BL_DeformableGameObject::ProcessReplica(KX_GameObject* replica)
KX_GameObject::ProcessReplica(replica);
if (m_pDeformer) {
deformer = (BL_MeshDeformer*)m_pDeformer->GetReplica();
deformer = (BL_MeshDeformer*)m_pDeformer->GetReplica(replica);
((BL_DeformableGameObject*)replica)->m_pDeformer = deformer;
}