PyBullet: expose flags to createMultiBody

This commit is contained in:
erwincoumans
2018-06-02 11:37:14 -07:00
parent 39c9ffa4c3
commit cb6b7a7c38
5 changed files with 43 additions and 14 deletions

View File

@@ -5804,6 +5804,12 @@ bool PhysicsServerCommandProcessor::processCreateMultiBodyCommand(const struct S
}
int flags = 0;
if (clientCmd.m_updateFlags & MULT_BODY_HAS_FLAGS)
{
flags = clientCmd.m_createMultiBodyArgs.m_flags;
}
bool ok = processImportedObjects("memory", bufferServerToClient, bufferSizeInBytes, useMultiBody, flags, u2b);
if (ok)