revert linkNames in createMultiBody, we cannot pass pointers pointing to local memory (storing the string) around into shared memory or over the network.

This commit is contained in:
Erwin Coumans
2021-09-20 12:22:30 -07:00
parent 4e881118ef
commit 87605ca4c8
6 changed files with 10 additions and 26 deletions

View File

@@ -564,8 +564,7 @@ extern "C"
const double linkInertialFrameOrientation[/*4*/],
int linkParentIndex,
int linkJointType,
const double linkJointAxis[/*3*/],
const char* const linkName);
const double linkJointAxis[/*3*/]);
//batch creation is an performance feature to create a large number of multi bodies in one command
B3_SHARED_API int b3CreateMultiBodySetBatchPositions(b3PhysicsClientHandle physClient, b3SharedMemoryCommandHandle commandHandle, double* batchPositions, int numBatchObjects);