public List<PhysicsRayTestResult> rayTest(Vector3f from, Vector3f to) {
        List<PhysicsRayTestResult> results = new LinkedList<>();
        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 (physics-space coordinates, not null,
unaffected)
@param to the ending location (in physics-space coordinates, not null,
unaffected)
@return a new list of results (not null)
jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java