mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-01 16:08:36 +00:00
13 lines
331 B
Python
13 lines
331 B
Python
import pybullet as p
|
|
import pybullet_data
|
|
|
|
p.connect(p.GUI)
|
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
|
plugin = p.loadPlugin("d:/develop/bullet3/bin/pybullet_testplugin_vs2010_x64_debug.dll",
|
|
"_testPlugin")
|
|
print("plugin=", plugin)
|
|
p.loadURDF("r2d2.urdf")
|
|
|
|
while (1):
|
|
p.getCameraImage(320, 200)
|