mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-18 08:14:27 +00:00
Update getAABB.py
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import pybullet as p
|
||||
import pybullet_data
|
||||
draw = 1
|
||||
printtext = 0
|
||||
|
||||
@@ -6,6 +7,8 @@ if (draw):
|
||||
p.connect(p.GUI)
|
||||
else:
|
||||
p.connect(p.DIRECT)
|
||||
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
r2d2 = p.loadURDF("r2d2.urdf")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user