æ¯åº¦å ¬å¼ãã°ã°ãã®ã¯ããå æ¸ããã©ãã®ã§ããã«ã¾ã¨ãã¦ãã ï¼ããããè¦ããããã»ã©ã®ç¥è½ã¯ãªãï¼ è·é¢ã¨è§åº¦ããxãyæ¹åã®è·é¢ãæ±ãã var dx:Number = Math.cos(degree * Math.PI / 180 ) * distance; var dy:Number = Math.sin(degree * Math.PI / 180 ) * distance; 2ç¹éã®è§åº¦ var radian:Number = Math.atan2(targetY - currentY, targetX - currentX); var degree:Number = radian * 180 / Math.PI; 2ç¹éã®è·é¢ var dx:Number = targetX - currentX; var dy:Number = targetY - currentY; var
{{#tags}}- {{label}}
{{/tags}}