add saveStateToMemory/restoreStateFromMemory/setAdditionalSearchPath/getAPIVersion to Bullet Robotics API.

This commit is contained in:
erwincoumans
2018-06-09 13:54:22 -07:00
parent 0cec85626f
commit 7ac3e263ab
3 changed files with 85 additions and 2 deletions

View File

@@ -582,8 +582,15 @@ public:
bool getCollisionShapeData(int bodyUniqueId, int linkIndex, b3CollisionShapeInformation &collisionShapeInfo);
bool getVisualShapeData(int bodyUniqueId, b3VisualShapeInformation &visualShapeInfo);
int saveStateToMemory();
void restoreStateFromMemory(int stateId);
int getAPIVersion() const
{
return SHARED_MEMORY_MAGIC_NUMBER;
}
void setAdditionalSearchPath(std::string path);
};