Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
Thanks a lot to Francisco León Nájera for the contribution!
This commit is contained in:
@@ -1830,7 +1830,7 @@ btGIMPACTMeshShape * createMesh()
|
|||||||
{
|
{
|
||||||
btGIMPACTMeshShape * newtrimeshShape = new btGIMPACTMeshShape(g_trimeshData );
|
btGIMPACTMeshShape * newtrimeshShape = new btGIMPACTMeshShape(g_trimeshData );
|
||||||
newtrimeshShape->setLocalScaling(btVector3(4.f,4.f,4.f));
|
newtrimeshShape->setLocalScaling(btVector3(4.f,4.f,4.f));
|
||||||
OGL_displaylist_register_shape(newtrimeshShape);
|
// OGL_displaylist_register_shape(newtrimeshShape);
|
||||||
return newtrimeshShape;
|
return newtrimeshShape;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ subject to the following restrictions:
|
|||||||
#include "BMF_Api.h"
|
#include "BMF_Api.h"
|
||||||
#include <stdio.h> //printf debugging
|
#include <stdio.h> //printf debugging
|
||||||
|
|
||||||
#define USE_DISPLAY_LISTS 1
|
//#define USE_DISPLAY_LISTS 1
|
||||||
#ifdef USE_DISPLAY_LISTS
|
#ifdef USE_DISPLAY_LISTS
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|||||||
Reference in New Issue
Block a user