From db1bdae32b0dfc361d0f68baa8be4f7c25f08484 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:32:59 +0530 Subject: [PATCH] Update test_inertia.py --- examples/pybullet/examples/test_inertia.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/test_inertia.py b/examples/pybullet/examples/test_inertia.py index a290f3bac..d30827db7 100644 --- a/examples/pybullet/examples/test_inertia.py +++ b/examples/pybullet/examples/test_inertia.py @@ -1,8 +1,11 @@ import pybullet as p from time import sleep +import pybullet_data + physicsClient = p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) useDeformable = True if useDeformable: p.resetSimulation(p.RESET_USE_DEFORMABLE_WORLD)