用户:+6%查看:1 回复:4 评论:1 创建时间:2023-01-18T15:38:05
怎样让模型旋转起来(代码)谢谢!
SCS_user_gEEDLzi3Yy(async function(){
while(true){
world.querySelectorAll(".孔明灯").forEach((e)=>{
e.meshOrientation.copy(e.meshOrientation.rotateY(Math.PI/250))
});
await sleep(10);
}
})()
这是我的代码,改一下用
点赞0
评论
龙皇斗罗士兵连连长var entityRotation=world.querySelector("#糖豆人-1");//模型名称 setInterval(async()=>{ entityRotation.meshOrientation.copy(entityRotation.meshOrientation.rotateY(Math.PI/180)) },10)
点赞0
评论