[pymunk] Bounding Box Queries?
Posted: Thu Jul 14, 2011 4:36 pm
In the main chipmunk documentation there's some discussion about using a bounding box query to get all shapes inside the box.
http://code.google.com/p/chipmunk-physics/wiki/Queries
I just so happen have a need to do exactly this, but I am using pymunk, and it appears the cpSpaceBBQuery function has not been implemented. Grepping the module's files I see some mentions of the function, but it doesn't seem to have been made a member of the Space class.
I am not really familiar with how C bindings work with Python, is there some other way to access this function I am missing, or is it not possible?
http://code.google.com/p/chipmunk-physics/wiki/Queries
I just so happen have a need to do exactly this, but I am using pymunk, and it appears the cpSpaceBBQuery function has not been implemented. Grepping the module's files I see some mentions of the function, but it doesn't seem to have been made a member of the Space class.
I am not really familiar with how C bindings work with Python, is there some other way to access this function I am missing, or is it not possible?