Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
import { OrbitControls, useAnimations, useGLTF } from "@react-three/drei";import { Physics, RigidBody } from "@react-three/rapier";import { useEffect, useRef } from "react";import { Canvas } from "react-three-fiber"; const Scene = () => { const { scene, animations } = useGLTF('./hallwb.glb'); const group = useRef(); const { actions } = useAnimations(animations, group); return ( );};const App = () => { return ( );};export default App;
import { OrbitControls, useAnimations, useGLTF } from "@react-three/drei";
import { Physics, RigidBody } from "@react-three/rapier";
import { useEffect, useRef } from "react";
import { Canvas } from "react-three-fiber";
const Scene = () => {
const { scene, animations } = useGLTF('./hallwb.glb');
const group = useRef();
const { actions } = useAnimations(animations, group);
return (
);
};
const App = () => {
return (
);
};
export default App;