diff --git a/examples/pybullet/examples/addPlanarReflection.py b/examples/pybullet/examples/addPlanarReflection.py index 6f26502a0..6cf0b4b81 100644 --- a/examples/pybullet/examples/addPlanarReflection.py +++ b/examples/pybullet/examples/addPlanarReflection.py @@ -1,6 +1,8 @@ import pybullet as p import time import math +import pybullet_data + def getRayFromTo(mouseX, mouseY): @@ -36,6 +38,7 @@ def getRayFromTo(mouseX, mouseY): cid = p.connect(p.GUI) if (cid < 0): p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.setPhysicsEngineParameter(numSolverIterations=10) p.setTimeStep(1. / 120.) logId = p.startStateLogging(p.STATE_LOGGING_PROFILE_TIMINGS, "visualShapeBench.json")