Hey Guys,
Quick question - I'm a little confused as to how NearestPointQuery is implemented. I had previously implemented NearestPointQueryNearest successfully like this:
Chipmunk.NearestPointQueryNearest(pos, size, info);
But I now need to find all shapes within a certain radius of a specific position, not just the closest one. It seems like the best approach is NearestPointQuery but I can't understand how I'm supposed to hook this up using Unity Script. I keep getting overlord errors regardless of what I pass into NearestPointQuery.
I can't find an example of how I would implement this in Unity Script. Any tips?
Thanks
Ryan
Trying to figure out how to use NearestPointQuery
-
- Posts: 17
- Joined: Thu Sep 05, 2013 1:54 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 2 guests