Question by
wolfenstien98 · Jan 28, 2016 at 02:51 AM ·
c#search
Searching in irregular shapes
I would like to have a system that would allow me to search a area for Gameobjects. Kind of like Physics.OverLapSphere. But I would like it to have the following features.
Allow for more shapes. e.g. Capsules, sphere, boxes,cylinders, ect,
Be able to use a vector for a size so that it could have a custom height, width, and depth.
Be able to find distance from center(while taking in the shape and size of the search area)
What would be the best way to accomplish this?
Comment