add example of using vhacd in pybullet

This commit is contained in:
Erwin Coumans
2020-03-15 18:15:14 -07:00
parent f0528db5e9
commit 17c6839a77
+10
View File
@@ -0,0 +1,10 @@
import pybullet as p
import pybullet_data as pd
import os
p.connect(p.DIRECT)
name_in = os.path.join(pd.getDataPath(), "duck.obj")
name_out = "duck_vhacd.obj"
name_log = "log.txt"
p.vhacd(name_in, name_out, name_log)