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

@@ -227,6 +227,10 @@ void PhysicsLoopBack::getCachedMassMatrix(int dofCountCheck, double* massMatrix)
{
m_data->m_physicsClient->getCachedMassMatrix(dofCountCheck, massMatrix);
}
bool PhysicsLoopBack::getCachedReturnData(struct b3UserDataValue* returnData)
{
return m_data->m_physicsClient->getCachedReturnData(returnData);
}
void PhysicsLoopBack::setTimeOut(double timeOutInSeconds)
{