Skip to content

Setting bone positions of a skinned mesh #1494

Answered by drcmda
srcnalt asked this question in Q&A
Discussion options

You must be logged in to vote

three broke __$ because index is now a race condition, they made it async, first thing that loads get 0, and so on. primitive will never dispose data because it's always external. but when you unmount the model cant possibly stay in the scene unless you have mutated something (calling add/removing imperatively etc). that this happens points to a real issue in your code.

i think you should consider gltfjsx which handles all that for you. here's an example of a skinned model that's being re-used https://codesandbox.io/s/gltf-animations-re-used-k8phr

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by srcnalt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants