jakecoffman / cp

A pure Go physics library with no dependencies. Unofficial Chipmunk2D port.

Home Page:https://chipmunk-physics.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShapeQueries not implemeted?

steampoweredtaco opened this issue · comments

commented

Hi! Awesome library. I have a couple specific use case that would work perfect for the shape query api that is in the C implementation but I can't seem to find it in this port? https://chipmunk-physics.net/release/ChipmunkLatest-Docs/#Queries-ShapeQueries

However I could probably work around this by adding a shape to bodies in the scene that are in the scene that don't move and add a sensor shape. This isn't ideal for many of my use cases, but I could probably make it work.

Done! Released in 1.2.0.

I did a quick test but nothing visual, let me know if it's not working.

commented

Thank you! I'll let you know if I have any issues.