Is there a way to use an empty object and fill it with box’s (yes there is) but then use a Ray cast to detect hit location using the children’s collision boxes?
Point me in the right direction would be great thanks.
Is there a way to use an empty object and fill it with box’s (yes there is) but then use a Ray cast to detect hit location using the children’s collision boxes?
Point me in the right direction would be great thanks.
Sorry I am new to unity, but here is my thoughts any ways.
I think by default raycast will return anything…
no matter if its a child or not.
you could use layer mask to separate your childs from your parent game object.