Skip to content

Fix pymunk 7.x compatibility#20

Open
elasticdotventures wants to merge 1 commit into
huggingface:mainfrom
elasticdotventures:fix/pymunk7-compatibility
Open

Fix pymunk 7.x compatibility#20
elasticdotventures wants to merge 1 commit into
huggingface:mainfrom
elasticdotventures:fix/pymunk7-compatibility

Conversation

@elasticdotventures
Copy link
Copy Markdown

This PR fixes issue #19 by updating the collision handler code to work with pymunk 7.x API. The new code uses the on_collision method with named parameter syntax instead of the removed add_collision_handler method. The implementation now works with pymunk 7.x while maintaining backward compatibility with pymunk 6.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants