- Home /
Detect "collision" between Vector3 and GameObject
I'm new to Unity3D, and some of the concepts are still a little confusing, so this might be a dumb question.
Basically I have a bunch of dynamically-generated moving spheres in my scene. I also have a unit vector3 pointing generally in the positive-Z direction. I want to be able to detect if that unit vector, if its magnitude were extended to infinity, would intersect with any of those spheres.
Can anyone point me in the right direction (no pun intended)? Thanks in advance!
Your answer
![](https://koobas.hobune.stream/wayback/20220613085150im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Third person controller Collide with cube 2 Answers
Instantiate after collision 2 Answers
Why do Instantiated GameObjects Colliders only work on player i am controlling,nothing else? 2 Answers
Can't add component because class doesnt exist 1 Answer
How to reset a scene from collision with a GameObject? 0 Answers