From cf4441cdbd22f567683a2dd4d7621c5e5e10d282 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 22:40:02 +0530 Subject: [PATCH] Update changeTexture.py --- examples/pybullet/examples/changeTexture.py | 3 +++ 1 file changed, 3 insertions(+) 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])