Replies: 2 comments
-
this one helps a lot: https://threejs.org/docs/#manual/en/introduction/How-to-update-things threejs has very specific update rule, most importantly you can not overwrite geometry. you can only mutate it. |
Beta Was this translation helpful? Give feedback.
-
I've managed it out but since I wanted to switch from I've choosen to use a Just a note for @drcmda : after following your link I've tried with the Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'm struggling with the reactivity of react-three-fibers - in particular with the
faceVertexUvs
attribute.Here's a sandbox. You can click on the image of my cat to trigger a change in the component's state - but nothing moves.
As you can see the
Box
component is reactive to the background thanks toonUpdate
, which is a self-updating function like the one I've see in the docs:Now, how can I repropouse this pattern with the uvs vertex?
onUpdate
isn't working right now, but even if it were, would be correct sinceoffset
is always trueish?Beta Was this translation helpful? Give feedback.
All reactions