public List<PhysicsRayTestResult> rayTest(Vector3f from, Vector3f to, List<PhysicsRayTestResult> results) {
        results.clear();
        dynamicsWorld.rayTest(Converter.convert(from, rayVec1), Converter.convert(to, rayVec2), new InternalRayListener(results));
        return results;
    }
Performs a ray collision test and returns the results as a list of PhysicsRayTestResults

@param from the starting location (in physics-space coordinates, not
null, unaffected)
@param to the ending location (in physics-space coordinates, not null,
unaffected)
@param results the list to hold results (not null, modified)
@return results
jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java