mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-09-09 11:31:38 +08:00
fix small bug in world
This commit is contained in:
@@ -390,7 +390,7 @@ class World(object):
|
||||
# bridge.step()
|
||||
|
||||
# call the step method for each body
|
||||
for body in self.bodies:
|
||||
for body in self.bodies.values():
|
||||
body.step()
|
||||
|
||||
# call simulation step
|
||||
|
||||
Reference in New Issue
Block a user