Despite the name, PhysicsSpace.rayTest() uses a "ray" of finite length, what mathematicians call a line segment.
TestPhysicsRayCast currently uses a "ray" with length=1. For the test model used, this is too short to reach the model from the initial camera position.
For TestPhysicsRayCast to be a useful and convenient test, the ray needs to be much longer, perhaps 50 world units.
Despite the name, PhysicsSpace.rayTest() uses a "ray" of finite length, what mathematicians call a line segment.
TestPhysicsRayCast currently uses a "ray" with length=1. For the test model used, this is too short to reach the model from the initial camera position.
For TestPhysicsRayCast to be a useful and convenient test, the ray needs to be much longer, perhaps 50 world units.