Support getCachedReturnData for PhysicsLoopBack

re-use existing code path for streaming plugin return data (work-in-progress)
This commit is contained in:
Erwin Coumans
2020-10-07 08:24:33 -07:00
parent 954ceff2ec
commit bc51ac3f0f
6 changed files with 20 additions and 29 deletions

View File

@@ -3069,7 +3069,7 @@ B3_SHARED_API void b3CustomCommandExecutePluginCommand(b3SharedMemoryCommandHand
{
command->m_updateFlags |= CMD_CUSTOM_COMMAND_EXECUTE_PLUGIN_COMMAND;
command->m_customCommandArgs.m_pluginUniqueId = pluginUniqueId;
command->m_customCommandArgs.m_startingReturnBytes = 0;
command->m_customCommandArgs.m_arguments.m_numInts = 0;
command->m_customCommandArgs.m_arguments.m_numFloats = 0;
command->m_customCommandArgs.m_arguments.m_text[0] = 0;