diff --git a/examples/pybullet/examples/mimicJointConstraint.py b/examples/pybullet/examples/mimicJointConstraint.py index 60a0625d9..968a24354 100644 --- a/examples/pybullet/examples/mimicJointConstraint.py +++ b/examples/pybullet/examples/mimicJointConstraint.py @@ -23,6 +23,7 @@ p.changeConstraint(c,gearRatio=-1, maxForce=10000) p.setRealTimeSimulation(1) while(1): + p.setGravity(0,0,-10) time.sleep(0.01) #p.removeConstraint(c) - \ No newline at end of file + diff --git a/examples/pybullet/examples/quadruped.py b/examples/pybullet/examples/quadruped.py index 19527fa47..7e3ee1262 100644 --- a/examples/pybullet/examples/quadruped.py +++ b/examples/pybullet/examples/quadruped.py @@ -187,6 +187,7 @@ t = 0.0 t_end = t + 15 ref_time = time.time() while (t