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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -