diff --git a/examples/pybullet/examples/saveWorld.py b/examples/pybullet/examples/saveWorld.py index f6f6278ed..e4026770f 100644 --- a/examples/pybullet/examples/saveWorld.py +++ b/examples/pybullet/examples/saveWorld.py @@ -1,7 +1,10 @@ import pybullet as p import time +import pybullet_data p.connect(p.SHARED_MEMORY) + +p.setAdditionalSearchPath(pybullet_data.getDataPath()) timestr = time.strftime("%Y%m%d-%H%M%S") filename = "saveWorld" + timestr + ".py" p.saveWorld(filename)