I am just checking how I would go about testing if a point is inside a concave b2Body?
I have created the concave b2Body using multiple fixtures and shapes. I was initially using a bounds check but knew that I would later need to improve this. After checking the documentation I found TestPoint which seems to be what I need... but I am not sure how would I go about using this. Do I have to check all the fixtures on my body or?
I am sorry if this has been answered before, I wasn't able to find anything using the search!
Thank you
p.s. I love Box2D, very quick to get stuff working 🙂
I have created the concave b2Body using multiple fixtures and shapes. I was initially using a bounds check but knew that I would later need to improve this. After checking the documentation I found TestPoint which seems to be what I need... but I am not sure how would I go about using this. Do I have to check all the fixtures on my body or?
I am sorry if this has been answered before, I wasn't able to find anything using the search!
Thank you
p.s. I love Box2D, very quick to get stuff working 🙂