throw objects deepmimic env

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

View File

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