Closed Code47X closed 3 years ago
Not sure if Drei has changed useAnimations recently, but there seems to be a typescript error with the default gltf-jsx output for models with animations.
could you fix it and make it a pr? i don't know enough ts to really do anything about it.
It seems like just typecasting the group ref as MutableRefObject<THREE.Object3D> does the trick.
group
MutableRefObject<THREE.Object3D>
Not sure if Drei has changed useAnimations recently, but there seems to be a typescript error with the default gltf-jsx output for models with animations.