i want a particle animation like in this website Website while scrolling.
but now i am getting some weird animation like in this video
this is my code Codesandbox
i want a particle animation like in this website Website while scrolling.
but now i am getting some weird animation like in this video
this is my code Codesandbox
the following looks very much incorrect…
the traverse
method iterates over all of the objects (as a depth first search afaia) in a given scene graph meaning for every mesh object in every scene you’re loading the next model and then again for every mesh object in every following scene so you’re effectively reloading everything recursively to the order of n * model index * model parts
… try loading each model individually once and working with individual models…
is it the reason for two models while rotating the points?
It’s almost 100% likely from what I can see…
very helpful