raycastdepth() expands the range of ray radius

  • I am using Krpano to create a collision warning function, which requires the use of raycastdepth().


    On this basis, it is necessary to expand the radius range of the ray to provide collision warning within a radius of 1m, similar to THREE Raycaster. params Points. threshold.


    Also, a limited range of rays is also what I need, I don't need infinitely long rays.


    I checked the document and found that the corresponding function was not provided. I would like to ask if there is a solution.

    Best wishes.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!