BGE: replace mesh works for Soft Body (including reinstantiation of physics soft...
authorBenoit Bolsee <benoit.bolsee@online.be>
Tue, 24 Nov 2009 22:44:29 +0000 (22:44 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Tue, 24 Nov 2009 22:44:29 +0000 (22:44 +0000)
commit5b722b1e8755c2d3b0c981087f3016f16a2b891a
treeece1d250a7e8cb72b9f393d394a1edb684dbf577
parent6c55047b4019a3491934bae38bbf229e6b0e6a48
BGE: replace mesh works for Soft Body (including reinstantiation of physics soft body mesh).

Even a static mesh can be used as replacement: the mesh
will be instantiated with the soft body settings of the
object. The position and orientation of the soft body
is preserved after the replacement.

Known limitation: the velocity of the soft body is reset
aftet the replacement. This is because soft body don't
have a well defined velocity.
26 files changed:
projectfiles_vc9/gameengine/converter/KX_converter.vcproj
projectfiles_vc9/gameengine/rasterizer/RAS_rasterizer.vcproj
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Converter/BL_MeshDeformer.cpp
source/gameengine/Converter/BL_MeshDeformer.h
source/gameengine/Converter/BL_ModifierDeformer.cpp
source/gameengine/Converter/BL_ModifierDeformer.h
source/gameengine/Converter/BL_ShapeDeformer.cpp
source/gameengine/Converter/BL_ShapeDeformer.h
source/gameengine/Converter/BL_SkinDeformer.cpp
source/gameengine/Converter/BL_SkinDeformer.h
source/gameengine/Converter/BL_SkinMeshObject.cpp [deleted file]
source/gameengine/Converter/BL_SkinMeshObject.h [deleted file]
source/gameengine/Converter/KX_SoftBodyDeformer.cpp [new file with mode: 0644]
source/gameengine/Converter/KX_SoftBodyDeformer.h [new file with mode: 0644]
source/gameengine/Ketsji/KX_BlenderMaterial.cpp
source/gameengine/Ketsji/KX_BlenderMaterial.h
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.h
source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp
source/gameengine/Rasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_MeshObject.cpp
source/gameengine/Rasterizer/RAS_MeshObject.h
source/gameengine/Rasterizer/SConscript