scene.beginAnimation(mesh, 0, 720, true)
其中,mesh是要旋转的物体,0是起始角度,720是结束角度,true表示循环动画。
https://doc.babylonjs.com/start/chap1
https://doc.babylonjs.com/start/chap2
https://doc.babylonjs.com/start/chap3
https://doc.babylonjs.com/start/chap4
https://doc.babylonjs.com/start/chap5
https://doc.babylonjs.com/start/chap6
https://doc.babylonjs.com/start/chap7
https://doc.babylonjs.com/start/chap8
https://doc.babylonjs.com/toolsAndResources/offsite