Get coordonates of a ray in a bounding box?


I’m trying to get the hit coordinates of a ray with the bounding box of an object… There is an IntersecRay function, but it’s just a boolean. I would to know where it hits the bounding box of a Capsule collider. Any idea?


This thread should give you want you want: