- Home /
Manuals Sphere collison
I need to get collision's or hits of sphere collider. I can not find solution for this...
For example RaycastHit[] hits = Physics.SphereCastAll(BW.transform.position, radius, Vector3.zero);
I do not need any direction, I have only sphere point and it radius.
Physics.OverlapSphere - I need something like this, but it does not return collision (only collider) or hits.
Yes, I need something like collision Physics.CheckSphere but it should return collision point's, not bool or colliders.
Sorry for my misunderstanding. I'm not sure that if this will work for you. I was using a Physics.SphereCast() with very very small distance around 0.01f. To fake the sphere test. I was use this for my character feet contact position check.
Your answer
Follow this Question
Related Questions
Raycast Never Hits Anything?! 2 Answers
Physics.SphereCast with Vector3.Reflect returns weird results 1 Answer
How to identify multiple objects in a sphere cast? 1 Answer
Spherecast. Want to determine how close to the center of the sphere the collision occurred. 0 Answers
Unity SphereCast - Getting the center of the last sphere before the hit 2 Answers