Update saveWorld.py

This commit is contained in:
NiranthS
2020-04-23 23:29:35 +05:30
committed by GitHub
parent 8ac528d477
commit 74f1cc43e4

View File

@@ -1,7 +1,10 @@
import pybullet as p
import time
import pybullet_data
p.connect(p.SHARED_MEMORY)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
timestr = time.strftime("%Y%m%d-%H%M%S")
filename = "saveWorld" + timestr + ".py"
p.saveWorld(filename)