add single step rendering feature:
while (1):
stepSimulation()
pybullet.configureDebugVisualizer(pybullet.COV_ENABLE_SINGLE_STEP_RENDERING, 1)
disable single step using
pybullet.configureDebugVisualizer(pybullet.COV_ENABLE_SINGLE_STEP_RENDERING, 0)
This commit is contained in:
@@ -1824,6 +1824,8 @@ void PhysicsServerCommandProcessor::setGuiHelper(struct GUIHelperInterface* guiH
|
||||
guiHelper->createPhysicsDebugDrawer(m_data->m_dynamicsWorld);
|
||||
} else
|
||||
{
|
||||
//state loggers use guiHelper, so remove them before the guiHelper is deleted
|
||||
deleteStateLoggers();
|
||||
if (m_data->m_guiHelper && m_data->m_dynamicsWorld && m_data->m_dynamicsWorld->getDebugDrawer())
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user