gpt4 book ai didi

How to rotate car.glb wheels using useGLTF()(如何使用useGLTF()旋转car.glb车轮)

转载 作者:bug小助手 更新时间:2023-10-22 16:56:55 26 4
gpt4 key购买 nike



I wanna rotate wheels of the car model. Here I can't upload model cause of the size.
This is the car model : Path

我想转动汽车模型的轮子。由于尺寸的原因,我无法上传模型。这是汽车型号:Path


This is my code in live without car model : Code

这是我在live without车型中的代码:代码


I use this but not working:

我使用这个但不工作:


useFrame((state, delta) => {
let t = state.clock.getElapsedTime();
c.scene.children[13].rotateX(t*2);
c.scene.children[14].rotateX(t*2);
});

更多回答
优秀答案推荐
更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com