Allow choosing loaded as btRigidBody with RobotSimAPI.

This commit is contained in:
yunfeibai
2016-08-16 16:57:48 -07:00
parent 9c4cfde3d6
commit 4bc31394a0
6 changed files with 56 additions and 6 deletions

View File

@@ -877,6 +877,7 @@ bool PhysicsServerCommandProcessor::loadUrdf(const char* fileName, const btVecto
}
btMultiBody* mb = creation.getBulletMultiBody();
if (useMultiBody)
{
@@ -944,7 +945,6 @@ bool PhysicsServerCommandProcessor::loadUrdf(const char* fileName, const btVecto
} else
{
btAssert(0);
return true;
}