Blender Git Loki

Git Commits -> Revision 5b722b1

Revision 5b722b1 by Benoit Bolsee (master)
November 24, 2009, 22:44 (GMT)
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.


Commit Details:

Full Hash: 5b722b1e8755c2d3b0c981087f3016f16a2b891a
SVN Revision: 24871
Parent Commit: 6c55047
Lines Changed: +603, -732

2 Added Paths:

/source/gameengine/Converter/KX_SoftBodyDeformer.cpp (+120, -0) (View)
/source/gameengine/Converter/KX_SoftBodyDeformer.h (+102, -0) (View)

2 Deleted Paths:

/source/gameengine/Converter/BL_SkinMeshObject.cpp (+0, -156)
/source/gameengine/Converter/BL_SkinMeshObject.h (+0, -67)

22 Modified Paths:

/projectfiles_vc9/gameengine/converter/KX_converter.vcproj (+8, -8) (Diff)
/projectfiles_vc9/gameengine/rasterizer/RAS_rasterizer.vcproj (+6, -6) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+11, -15) (Diff)
/source/gameengine/Converter/BL_MeshDeformer.cpp (+1, -1) (Diff)
/source/gameengine/Converter/BL_MeshDeformer.h (+2, -2) (Diff)
/source/gameengine/Converter/BL_ModifierDeformer.cpp (+1, -1) (Diff)
/source/gameengine/Converter/BL_ModifierDeformer.h (+2, -2) (Diff)
/source/gameengine/Converter/BL_ShapeDeformer.cpp (+1, -1) (Diff)
/source/gameengine/Converter/BL_ShapeDeformer.h (+2, -2) (Diff)
/source/gameengine/Converter/BL_SkinDeformer.cpp (+3, -3) (Diff)
/source/gameengine/Converter/BL_SkinDeformer.h (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.h (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp (+4, -123) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+16, -9) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+222, -281) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+2, -4) (Diff)
/source/gameengine/Rasterizer/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/Rasterizer/RAS_MeshObject.cpp (+89, -35) (Diff)
/source/gameengine/Rasterizer/RAS_MeshObject.h (+3, -9) (Diff)
/source/gameengine/Rasterizer/SConscript (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021