-
-
Notifications
You must be signed in to change notification settings - Fork 373
default generated tsx code problems #273
Copy link
Copy link
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",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels