fix small bug in world

This commit is contained in:
Brian Delhaisse
2019-07-16 00:00:31 +02:00
parent cd49a4c059
commit 4c17d88397
+2 -1
View File
@@ -391,7 +391,8 @@ class World(object):
# call the step method for each body
for body in self.bodies.values():
body.step()
if isinstance(body, Body):
body.step()
# call simulation step
self.sim.step()