diff --git a/examples/pybullet/examples/getAABB.py b/examples/pybullet/examples/getAABB.py index b80a6fe6d..a94e581f0 100644 --- a/examples/pybullet/examples/getAABB.py +++ b/examples/pybullet/examples/getAABB.py @@ -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")