Victor Blomqvist

Results 96 comments of Victor Blomqvist

Forgot about inclusive/exclusive and infinity ranges. Maybe infinity could be handle by the types built in max/min values ( `math.MaxInt32` and so on?). For inclusive/exclusive its trickier. Tags get a...

There is no built in ready to use support for this. You will have to do something yourself. There are some resources for Chipmunk (The c library pymunk is using)...

Rereading this issue I see that another thing should be clarified: Pymunk does not calculate any gravity force between two bodies. The only thing it does is calculate how the...

Its difficult to say without more code. See this example that will print out wildcard collision ``` import pymunk space = pymunk.Space() b1 = pymunk.Body(1,2) c1 = pymunk.Circle(b1, 10) c1.collision_type...

Ah, ok, now I get the same result as you. I will do some more investigation as to why,

Oh, well spotted. It must be a leftover in the docs. I will update them when I have the chance. I think the best way to do what you want...

Thanks for the report. After I tried a bit I managed to reproduce the error. Dont have a good answer yet, will do some experiments.

There are a couple of ways to do this with Pymunk, depending on exactly what you need. You wrote that arrows from a friendly soldier should not collide with other...

Alright. Then you can do it by putting read team soldiers in one category, red team arrows in one category, blue team soldiers in one category and finally blue team...

Ok, great. Then Ill close this one.