Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions examples/RobotSimulator/b3RobotSimulatorClientAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ bool b3RobotSimulatorClientAPI::connect(int mode, const std::string& hostName, i
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect(m_data->m_guiHelper);
break;
}
case eCONNECT_SHARED_MEMORY_SERVER:
{
if (portOrKey >= 0)
{
key = portOrKey;
}
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3(0, key);
break;
}


case eCONNECT_GUI:
{
Expand Down