mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-07-22 22:19:19 +00:00
Load bunny through shared memory API and RobotSimAPI. Create grasp bunny example.
This commit is contained in:
@@ -998,4 +998,10 @@ void b3RobotSimAPI::getLinkState(int bodyUniqueId, int linkIndex, double* worldP
|
||||
worldOrientation[2] = linkState.m_worldOrientation[2];
|
||||
worldOrientation[3] = linkState.m_worldOrientation[3];
|
||||
}
|
||||
}
|
||||
|
||||
void b3RobotSimAPI::loadBunny()
|
||||
{
|
||||
b3SharedMemoryCommandHandle command = b3LoadBunnyCommandInit(m_data->m_physicsClient);
|
||||
b3SubmitClientCommand(m_data->m_physicsClient, command);
|
||||
}
|
||||
Reference in New Issue
Block a user