various fixes

move btSimulationIslandManagerMt.cpp from BulletCollision to BulletDynamics
This commit is contained in:
Erwin Coumans
2016-11-10 16:18:20 -08:00
parent fd90589cc2
commit 3b5d0f444b
8 changed files with 10 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ class btCollisionShape;
#include "LinearMath/btAlignedObjectArray.h"
#include "LinearMath/btPoolAllocator.h"
#include "btBulletCollisionCommon.h"
#include "BulletCollision/CollisionDispatch/btSimulationIslandManagerMt.h" // for setSplitIslands()
#include "BulletDynamics/Dynamics/btSimulationIslandManagerMt.h" // for setSplitIslands()
#include "BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h"
#include "BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h"

View File

@@ -4083,7 +4083,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets()
}
//directly set the position of the links, only for debugging IK, don't use this method!
#if 0
#if 0
if (0)
{
for (int i=0;i<mb->getNumLinks();i++)
@@ -4092,7 +4092,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets()
mb->setJointPosMultiDof(i,&desiredPosition);
}
} else
#endif
#endif
{
int numMotors = 0;
//find the joint motors and apply the desired velocity and maximum force/torque

View File

@@ -2580,17 +2580,17 @@ static PyMethodDef SpamMethods[] = {
#endif
},
{"getContactPoints", pybullet_getContactPointData, METH_VARARGS | METH_KEYWORDS,
{"getContactPoints", (PyCFunction)pybullet_getContactPointData, METH_VARARGS | METH_KEYWORDS,
"Return existing contact points after the stepSimulation command. "
"Optional arguments one or two object unique "
"ids, that need to be involved in the contact."},
{"getClosestPoints", pybullet_getClosestPointData, METH_VARARGS | METH_KEYWORDS,
{"getClosestPoints", (PyCFunction)pybullet_getClosestPointData, METH_VARARGS | METH_KEYWORDS,
"Compute the closest points between two objects, if the distance is below a given threshold."
"Input is two objects unique ids and distance threshold."
},
{ "getOverlappingObjects", pybullet_getOverlappingObjects, METH_VARARGS | METH_KEYWORDS,
{ "getOverlappingObjects", (PyCFunction)pybullet_getOverlappingObjects, METH_VARARGS | METH_KEYWORDS,
"Return all the objects that have overlap with a given "
"axis-aligned bounding box volume (AABB)."
"Input are two vectors defining the AABB in world space [min_x,min_y,min_z],[max_x,max_y,max_z]."