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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user