tweak pybullet examples a bit (mac OSX OpenGL runs in mainloop, with python interpreter,
so it needs some 'ping' command bump up pybullet to version 1.4.6
This commit is contained in:
@@ -187,6 +187,7 @@ t = 0.0
|
||||
t_end = t + 15
|
||||
ref_time = time.time()
|
||||
while (t<t_end):
|
||||
p.setGravity(0,0,-10)
|
||||
if (useRealTime):
|
||||
t = time.time()-ref_time
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user