blender/source/gameengine
Erwin Coumans 1b37f8dca8 Hi there, it has been a while, just curious if my SVN account still works :)
This commit is an attempt to improve collisions between moving Bullet rigid bodies using (concave) triangle mesh bounds.
Instead of using Gimpact, this we create a btCompoundShape with child shape tetrahedra derived from the surface triangles.
For each triangle, we add a fourth vertex using the centroid, shifting inwards using the triangle normal.
If the centroid hits an internal triangle, we stop. The default depth could be exposed as 'advanced' setting in the user interface.
This solution will be a slower than the original/gimpact solution, but a bit more reliable. 
In the future, it is better to add HACD, convex decomposition to Blender, for moving concave meshes.
See http://kmamou.blogspot.com and the Bullet SDK's Demos/ConvexDecompositionDemo.
2012-12-15 01:01:35 +00:00
..
BlenderRoutines BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed double-click keyboard events. 2012-11-29 05:21:24 +00:00
Converter buildsystem cleanup: remove duplicate source & includes for scons, 2012-11-14 01:41:24 +00:00
Expressions py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
GameLogic py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
GamePlayer Fix game player still not using fast GPU mipmap generation, user preferencs 2012-12-11 08:01:16 +00:00
Ketsji define the size of matrix args for both rows/cols. 2012-12-11 14:29:01 +00:00
Network code cleanup: unused defines & some formatting. 2012-11-08 06:46:10 +00:00
Physics Hi there, it has been a while, just curious if my SVN account still works :) 2012-12-15 01:01:35 +00:00
Rasterizer buildsystem cleanup: remove duplicate source & includes for scons, 2012-11-14 01:41:24 +00:00
SceneGraph style cleanup: comments & spelling 2012-11-18 01:22:31 +00:00
VideoTexture py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
CMakeLists.txt code cleanup: use system includes for cmake, otherwise warnings get printed in headers. 2012-09-18 04:40:20 +00:00
SConscript enable building the game engine without bullet for scons & cmake 2010-10-10 07:01:56 +00:00