mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-13 12:25:29 +00:00
pip3 install pybulle
import pybullet as p
p.connect(p.DIRECT)
p.vhacd("teddy.obj", "teddy_large_newout.obj", "newlog.txt", depth=2,resolution=1000000)
27 lines
284 B
Lua
27 lines
284 B
Lua
|
|
project "test_vhacd"
|
|
|
|
if _OPTIONS["ios"] then
|
|
kind "WindowedApp"
|
|
else
|
|
kind "ConsoleApp"
|
|
end
|
|
|
|
includedirs {"../../public",
|
|
"../../../src"}
|
|
|
|
links {
|
|
"vhacd", "LinearMath"
|
|
}
|
|
|
|
language "C++"
|
|
|
|
files {
|
|
"main.cpp",
|
|
"main_vhacd.cpp",
|
|
}
|
|
|
|
|
|
if os.is("Linux") then
|
|
links {"pthread"}
|
|
end |