Replies: 1 comment 1 reply
-
You need to tell the BufferAttribute to update after you set the new values. In this example, I created a ref for the geometry, and whenever the lines changes, a useEffect is called that will tell the buffer attribute to update. https://codesandbox.io/s/update-bufferattribute-fkws1y?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
code as follow:
https://codesandbox.io/s/bold-perlman-94w18o?file=/src/App.js
is there any errors in my codes? need help
Beta Was this translation helpful? Give feedback.
All reactions