I was looking for a way to add "post step" callbacks to the space instance. I decided to add the "add_post_step_callback" method in the Space class as a way to register callbacks in the "_post_step_callbacks" dict attribute. The implementation was actually taken from pymunk.
I was looking for a way to add "post step" callbacks to the space instance. I decided to add the "add_post_step_callback" method in the Space class as a way to register callbacks in the "_post_step_callbacks" dict attribute. The implementation was actually taken from pymunk.