box2d check if a point is in a fixture -
Does the box 2d expose some computational geometry functions as if a point is in stability or not?
I want to sample a random point evenly at the intersection of two fixtures. Since I do not need to generate the clear representation of the intersection of two shapes, so I'm going to produce evenly random points on the intersection of the latitude-alliance box, and then rejecting those samples which are both fixtures Are not within.
Yes B2 fixtures have a test point (B2VK2) function. Here's a look at the header file for b2Fiexture:
Comments
Post a Comment