mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-10 04:18:21 +00:00
8 lines
170 B
Python
8 lines
170 B
Python
import pybullet as p
|
|
import time
|
|
|
|
p.connect(p.GRAPHICS_SERVER)
|
|
#p.connect(p.GRAPHICS_SERVER_MAIN_THREAD)
|
|
while p.isConnected():
|
|
p.stepSimulation()
|
|
time.sleep(1./240.) |