场景的移动
1.改变相机的位置,让物体移动
function animation()
{
//renderer.clear();
camera.position.x =camera.position.x +1;
renderer.render(scene, camera);
requestAnimationFrame(animation);
}
2.改变物体自身的位置,让物体移动
function animation()
{
mesh.position.x-=1


8483

被折叠的 条评论
为什么被折叠?



