diff --git a/examples/pybullet/examples/shiftCenterOfMass.py b/examples/pybullet/examples/shiftCenterOfMass.py index c0a3f1911..95a507d91 100644 --- a/examples/pybullet/examples/shiftCenterOfMass.py +++ b/examples/pybullet/examples/shiftCenterOfMass.py @@ -2,8 +2,11 @@ import pybullet as p import time import pybullet_data +import pybullet_data + p.connect(p.GUI) p.setAdditionalSearchPath(pybullet_data.getDataPath()) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.loadURDF("plane.urdf") p.setGravity(0, 0, -10)