kivy / cymunk

Cython port of Pymunk
http://readthedocs.org/docs/cymunk/en/latest/
MIT License
45 stars 29 forks source link

Allow post step callbacks to be added to a space instance. #41

Closed PeithVergil closed 6 years ago

PeithVergil commented 7 years ago

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.