i really hate this function but yet, i have to use it again >.<
ok well, i wont explain why i need this and everything but i need to cast a SPHERE…
and no i dont want OverlapSphere because i need to get all the vectors of the points in which the sphere collided and not the colliders. the vectors.
so i tried to cast a capsule.
because i dont want it to be a capsule, both points are the same (to cast a sphere)
radius 10, and i dont want it to move >.< so just left all the other fields 0.
var hitInfo:RaycastHit[ ] = Physics.CapsuleCastAll(transform.position, transform.position, 10, Vector3.zero, 0);
the problem is, it is not colliding with anything…
thanks in advanced