ts
egret3d Mesh rotation
doorxp 发表于2018-05-18 浏览4486 评论0
let oMatrix = this.ballMesh.modelMatrix; let matrix = new egret3d.Matrix4_4(); matrix.identity(); matrix.appendRotation(vangle * 60, axis); oMatrix.multiply(matrix); this.ballMesh.orientation.fromMatrix(oMatrix);