Update hello_pybullet.py

This commit is contained in:
NiranthS
2020-04-23 23:10:49 +05:30
committed by GitHub
parent e27a8df07b
commit e9163d0987
@@ -1,8 +1,12 @@
import pybullet as p
from time import sleep
import pybullet_data
physicsClient = p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.setGravity(0, 0, -10)
planeId = p.loadURDF("plane.urdf")
cubeStartPos = [0, 0, 1]