You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need reuse loaded gltf model and play animations of each of them at same time, default generated detail jsx component will cause warning like THREE.PropertyBinding: No target node found for track: somebone.position and stop animation
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",
The text was updated successfully, but these errors were encountered: