
I am wondering is there a way to have rayTest return hits from inside objects? For example, lets say I have a btSphereShape in my world and I do a rayTest where the start ray is at that spheres center and the end ray is at some point beyond that sphere's radius. For me this does not generate a collision, it will however if I flip the from & to ray points.
The next question to that is, what if my ray starts and ends somewhere within the sphere... shouldn't that also generate a hit?
I am using a ClosestRayResultCallback to get the test results; have looked at the other result callback classes and the filter/mask properties but with such limited knowledge of this engine so far I am at a loss.
Thanks.
-=ben