I've got a model of landscape, and a sweep (3D polyline) hiking route on it.
Using the API, I've set event listeners that do various things to the model, such as change camera and ideally, show and hide the route(s).
However, when trying to hide the node that contains the route the whole model disappears!
I think my issue may be that route is of type 'group', as noted in a post last year:
I'm not entirely sure, however, how to convert my sweep into a 'MatrixTransform' type, or exactly why this behaviour is occurring ( best guess is it's a child of another node, so both disappear?).
Model is barebones at the moment, as I wanted to test functionality first: https://sketchfab.com/models/d12184ff25a2405ea9273a635cf1a526
sketchfab.js (3.0 KB)