react-three-fiber icon indicating copy to clipboard operation
react-three-fiber copied to clipboard

<primitive> removed node after reload

Open hansyulian opened this issue 1 year ago • 0 comments

Hi, i am building a demo 3d view for cars. here is the repo: https://github.com/hansyulian/react-three-car-demo

how to setup:

  • npm install
  • cp .env.example .env
  • from here you either download the models from the https://hansyulian.github.io/test-gltf-files/assets and put in the models folder locally or change the .env url value to use https://hansyulian.github.io/test-gltf-files/assets instead

Problem: Go to CarModelNode.tsx line 85. comment this, you will notice if you go to one model and then back, the animated models will got removed from the gltf.scene.children and the next render, the child node will not be rendered.

hansyulian avatar Dec 20 '23 05:12 hansyulian