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:
1 parent
d909448ee3
commit
e6d74580c1
4 files changed
+11
-1
No files matched your search
@@ -390,6 +390,13 @@ void OpenGLExampleBrowserVisualizerFlagCallback(int flag, bool enable)
|
||||
{
|
||||
gEnableRenderLoop = (enable!=0);
|
||||
}
|
||||
|
||||
if (flag == COV_ENABLE_SINGLE_STEP_RENDERING)
|
||||
{
|
||||
singleStepSimulation = true;
|
||||
}
|
||||
|
||||
|
||||
if (flag == COV_ENABLE_SHADOWS)
|
||||
{
|
||||
useShadowMap = enable;
|
||||
|
||||
Reference in new issue
Block a user