mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-21 21:24:46 +00:00
9 lines
180 B
Python
9 lines
180 B
Python
import pybullet as p
|
|
import time
|
|
|
|
p.connect(p.SHARED_MEMORY)
|
|
timestr = time.strftime("%Y%m%d-%H%M%S")
|
|
filename = "saveWorld" + timestr + ".py"
|
|
p.saveWorld(filename)
|
|
p.disconnect()
|