How to restart webxr session with all objects(only models) removed from the scene

currently when webxr session restarts 2 X previous objects are shown on the screen , I want to show clear screen just as if session restart , currently I write this:

 for( var i = scene.children.length - 1; i >= 0; i--) { 
                     scene.remove(scene.children[i]); 
                    }

This removes everything and ar functionality is lost , so how to remove only models added in webxr ( they can be of gltf or obj format) , I write this inside webxr sessionend listener

90 thoughts on “How to restart webxr session with all objects(only models) removed from the scene”

  1. pharmacie de garde marseille timone medicaments hypnotiques , pharmacie lafayette hyeres horaires pharmacie brest rive droite , [url=https://kit.co/sandnan/vasodilan-a-vendre-en-ligne-vasodilan-pharmacie-canada#]Vasodilan vente libre[/url] pharmacie picardo avignon [url=https://kit.co/larti/zyprexa-prix-sans-ordonnance-zyprexa-sans-ordonnance-quebec#]Zyprexa pharmacie QuГ©bec[/url] , pharmacie leclerc brest pharmacie argenteuil jean jaures , therapies breves hypnose emdr imo (valerie marie bry). therapies have been used not only to treat mental disorders pharmacie leclerc acheres [url=https://kit.co/nogketp/plendil-prix-sans-ordonnance-plendil-a-vendre-en-ligne#]Plendil livraison Suisse[/url] , pharmacie obernai. pharmacie nadal bordeaux, pharmacie de garde oloron pharmacie de garde aujourd’hui pezenas . therapies humanistes definition, pharmacie de garde marseille cours saint louis pharmacie villeurbanne therapie comportementale et cognitive securite sociale .

    Reply