dennemark
dennemark
Hi @DenysAshikhin I think you just need to remove distanceFactor, then it should work already. Or am I missing something? I realize it is not a video how it should...
I see what you mean. This happens for me too, if I turn on the inspector in my app. I need to have a look at it next week. But...
I think I have it. Try position relative - makes sense for CSS. ``` ``` Maybe we should include it in the examples with comment line. @DenysAshikhin
>  I think these issues happen, because of the #babylonScene css style with width and height at 80% in the style.css. https://codesandbox.io/s/nifty-dijkstra-xf7xwg
For reference: https://forum.babylonjs.com/t/what-is-the-correct-way-to-render-on-demand/17256/28 Time for a new storybook entry? This component can be placed into scene and allows optional hardware scaling. Thanks for the hint on using useRef with cameraChanged!...
Those observables are useful! But I think I once tried to use the newMeshAddedObservable and sometimes it seems to trigger too late, maybe because within the mesh textures etc. need...
Hi, yes I am reusing the model without changes. And I agree the way Babylon handles geometry makes this issue a bit more complicated. Is the above mentioned useEffect similar...
@brianzinn yes I am switching via setEnabled. My react component is unmounted and as soon as I mount it again, I get my old asset via useAssetManager and set enabled...
Since this issue is a bit older: so far my approach of enabling and disabling meshes worked out well so far. Also using different key names for assets i.e. from...
Tested the approach. It seems to work. I am sometimes using react-query, which is pretty nice. However, I would expect a similar outcome. React-query is not cancelling the fetch on...