mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-09-10 12:21:16 +08:00
fix small bug in world
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user