add SIM_PARAM_UPDATE_DELTA_TIME flag to fix setting the time step
in shared memory API
This commit is contained in:
@@ -95,6 +95,7 @@ int b3PhysicsParamSetTimeStep(b3SharedMemoryCommandHandle commandHandle, double
|
||||
{
|
||||
struct SharedMemoryCommand* command = (struct SharedMemoryCommand*) commandHandle;
|
||||
b3Assert(command->m_type == CMD_SEND_PHYSICS_SIMULATION_PARAMETERS);
|
||||
command->m_updateFlags |= SIM_PARAM_UPDATE_DELTA_TIME;
|
||||
command->m_physSimParamArgs.m_deltaTime = timeStep;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user