diff --git a/examples/pybullet/examples/changeTexture.py b/examples/pybullet/examples/changeTexture.py index e14ec39cf..9f1f5cf01 100644 --- a/examples/pybullet/examples/changeTexture.py +++ b/examples/pybullet/examples/changeTexture.py @@ -1,6 +1,9 @@ import pybullet as p import time +import pybullet_data + p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) planeUidA = p.loadURDF("plane_transparent.urdf", [0, 0, 0]) planeUid = p.loadURDF("plane_transparent.urdf", [0, 0, -1])