mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-12 08:23:59 +00:00
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
7 lines
193 B
Python
7 lines
193 B
Python
import pybullet as p
|
|
p.connect(p.DIRECT)
|
|
p.loadPlugin("eglRendererPlugin")
|
|
p.loadSDF("newsdf.sdf")
|
|
while (1):
|
|
p.getCameraImage(320, 240, flags=p.ER_NO_SEGMENTATION_MASK)
|
|
p.stepSimulation()
|