throw objects deepmimic env

This commit is contained in:
Bart Moyaers
2019-06-20 10:12:49 +02:00
parent 0b9c0cebfb
commit 9b68deb6eb
3 changed files with 55 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ if __name__ == '__main__':
if world.env.isKeyTriggered(keys, ' '):
animating = not animating
if world.env.isKeyTriggered(keys, 'x'):
# print("Throwing object.")
world.env.hitWithObject()
if (animating):
update_world(world, timeStep)
#animating=False