here is my PG https://www.babylonjs-playground.com/#LCKHB2#9
there is three level and the quayside so when I click to moveToEscalator button I hide level3 and 2 in order to see escalator inside and I move through, so here I hide them very fast
is there a way to hide them smoothly or to make them transparent to see what behind (some attractive viszualization)
@Deltakosh here is a simple pg with 3 spheres : Babylon.js Playground
so I wanted to hide red and green spheres but not directly kind of smoothly with the movement of the camera (or make the spheres transparent and can see what is behind)
@Deltakosh@JohnK it works fine here but when I replace sphere by my mesh loaded by scene.getMeshByID(âMySketchUpâ), it doesnât work :(, I think because âMy SketchUpâ is just an empty parent doesnât it ?, if yes how can I call all childs from parent because there is a lot of childs in one node calls âMySketchupâ and I want to hide(MySketchUp) with BJS function (so hold all his childs)
@JohnK@Raggar I try it but no way
I called var MyMesh= MyNode.getChildMeshes();
and then try hide(MyMesh) I also tried MyMesh.forEach(mesh=>hide(mesh)); it doesnât work :(((
when I use MyMesh.forEach(mesh=>hide(mesh)); Iâve this error Uncaught TypeError: Cannot set property visibility of [object Object] which has only a getter
@JohnK I have the PG here is the link https://playground.babylonjs.com/#KI8BJH#27
I did it with simple meshes cuz @Deltakosh told me that it is simple to help u with simple meshes.
I use here mesh.isVisible in the place of hide and show cuz it doesnât work