mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
revert SHARED_MEMORY_GUI test
This commit is contained in:
parent
113c2a83de
commit
bb8f621bf9
@ -32,8 +32,8 @@ def getRayFromTo(mouseX, mouseY):
|
||||
return rayFrom, rayTo
|
||||
|
||||
|
||||
cid = p.connect(p.SHARED_MEMORY_GUI)
|
||||
#cid = p.connect(p.GUI)
|
||||
#cid = p.connect(p.SHARED_MEMORY_GUI)
|
||||
cid = p.connect(p.GUI)
|
||||
if (cid < 0):
|
||||
p.connect(p.GUI)
|
||||
p.setPhysicsEngineParameter(numSolverIterations=10)
|
||||
|
@ -3,7 +3,7 @@ import math
|
||||
import time
|
||||
dt = 1./240.
|
||||
|
||||
p.connect(p.SHARED_MEMORY_GUI)
|
||||
p.connect(p.GUI)#SHARED_MEMORY_GUI)
|
||||
p.loadURDF("r2d2.urdf",[0,0,1])
|
||||
p.loadURDF("plane.urdf")
|
||||
p.setGravity(0,0,-10)
|
||||
|
Loading…
Reference in New Issue
Block a user