Forum

Unexpected behaviour of RayIntersectsSphere

Actually not really sure if I am getting something wrong, but I expected the Vector3 of the RayIntersectsSphere to be where ray and sphere meet, is this a bug?

RayIntersectsSphere.vl (24.3 KB)

image

Thanks! :) And why?

When working with calculations involving rays the magnitude (length) of the Ray is calculated should be 1. I dunno, maths innit!

2 Likes