mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-19 22:26:08 +00:00
add example of using vhacd in pybullet
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user