mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Update humanoidMotionCapture.py
This commit is contained in:
parent
e9163d0987
commit
844c5b62f4
@ -1,12 +1,15 @@
|
|||||||
import pybullet as p
|
import pybullet as p
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
|
import pybullet_data
|
||||||
|
|
||||||
|
|
||||||
useGUI = True
|
useGUI = True
|
||||||
if useGUI:
|
if useGUI:
|
||||||
p.connect(p.GUI)
|
p.connect(p.GUI)
|
||||||
else:
|
else:
|
||||||
p.connect(p.DIRECT)
|
p.connect(p.DIRECT)
|
||||||
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
|
|
||||||
useZUp = False
|
useZUp = False
|
||||||
useYUp = not useZUp
|
useYUp = not useZUp
|
||||||
|
Loading…
Reference in New Issue
Block a user