mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-11 02:15:41 +00:00
Update hello_pybullet.py
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user