cocos creator 计算余弦值和正弦值


         //缓动

         cc.tween(bNode).to(1,             { position: new cc.Vec3(bNode.x+600*Math.cos(-this.radian),bNode.y+600*Math.sin(-this.radian)) ,opacity:0 }             ).          call(()=>{              bNode.destroy()          })          .start()     负数相反方向   Math.cos()和Math.sin()传入的是弧度,分别计算x,y坐标