-
-
Notifications
You must be signed in to change notification settings - Fork 363
Open
Description
const group = React.useRef<THREE.Group>()
const { scene, animations } = useGLTF('/autonomous_robot_sweeper-transformed.glb')
const clone = React.useMemo(() => SkeletonUtils.clone(scene), [scene])
const { nodes, materials } = useGraph(clone) as GLTFResult
// actions is empty
const { actions } = useAnimations(animations, group)
// this way get correct result
const actions = useAnimations(animations, group)
maybe useAnimations version problem? tested with "@react-three/drei": "^9.106.0",
Metadata
Metadata
Assignees
Labels
No labels