don't apply vertex transformation for deformable game soft bodies.
authorErwin Coumans <blender@erwincoumans.com>
Thu, 25 Sep 2008 21:04:41 +0000 (21:04 +0000)
committerErwin Coumans <blender@erwincoumans.com>
Thu, 25 Sep 2008 21:04:41 +0000 (21:04 +0000)
commit6732718ef1b7f212e2368cf237c08d72f13d06ab
tree69963a9ebe5f54795774f366a4cd99ca4519ac13
parent9a7c53782b63ea084782f9843150f74bcaa2cca3
don't apply vertex transformation for deformable game soft bodies.
set a fake world transform for game soft bodies, based on center of the AABB, so visiblity and some game logic works. note: this world transform is not smooth.
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
source/gameengine/Rasterizer/RAS_Deformer.h
source/gameengine/Rasterizer/RAS_MaterialBucket.cpp