TurboWarpã®Box2D Physicsã解説ãã¦ã¿ãï¼
ä»åã¯ãTurboWarpã®Box2D Physics(ç©ç)ã«ã¤ãã¦ç°¡åã«è§£èª¬ãããã¨æãã¾ãã
1. Box2D Physicsãå°å ¥ãã
â æ¡å¼µæ©è½ã®è¿½å ç»é¢ãéã
ç»é¢ã®å·¦ä¸ã«ãããã¿ã³ãæ¼ãã¦ãã ããã
â¡Box2D Physicsãé¸æãã
ä¸ã«å°ãã¹ã¯ãã¼ã«ãã¦ãBox2D Physicsãé¸æãã¦ãã ããã
Â
â¢å°å ¥æåï¼
å·¦ã«ãPhysicsã¨ããé ç®ãå¢ãã¦ãããæåã§ãï¼
Â
2. 丸ã®ã¹ãã©ã¤ããç¨æãã
â ããã©ã«ãã®å£åããé¤ ãäºã¤æ¶ã
ã³ã¹ãã¥ã¼ã ãããåé¤ãã¿ã³ãæ¼ãã¦å£åã®é¤ ãäºã¤æ¶ãã¦ãã ããã
Â
â¡äºã¤ããæ£ãæ¶ã
äºã¤ã®æ£ãæ¶ãã¨ãåã«ãªãã¾ããï¼
Â
â¢ä¸å¤®ã«ç§»åããã
ãã®ã¾ã¾ã§ãå½±é¿ã¯ãªãã¨æãã¾ãããä¸å¿ã¹ãã©ã¤ããä¸å¤®ã«æ»ãã¦ããã¾ãããã
Â
3. æç»ããããã®ãããã¯ãç½®ã
â æãããã¯ã¨ãã£ã¨ãç½®ã
æãããã¯ãç½®ãããã¨ã«ããã£ã¨ãç½®ãã¦ä¸ããã
â¡step simulationãããã¯ãç½®ã
ãã£ã¨ã®ä¸ã«ãstep simulationãããã¯ãç½®ãã¦ä¸ããã
Â
4. ã¹ãã©ã¤ããè½ã¨ã
â æãããã¯ãç½®ã
æãããã¯ãããä¸åæ°ãã«ç½®ãã¦ä¸ããã
â¡ã¹ãã©ã¤ããæå®ããå ´æã«ç§»åããã
ã¹ãã©ã¤ããæå®ãããX,Y座æ¨ã«ç§»åãããã«ã¯go toãããã¯ã使ãã¾ãã
ä»åã¯ãX座æ¨ã0 , Y座æ¨ã150ã«è¨å®ãã¾ãã
â¢ã¹ãã©ã¤ãã«ç©çãé©ç¨ãã
ã¹ãã©ã¤ãã«ç©çãé©ç¨ããã«ã¯ãenableãããã¯ã使ç¨ãã¾ãã
5. åãã¨...
åãã°ããã®ããã«ãªãã¾ãï¼
6. æå¾ã«
æå¾ã«ããã®ãããªããã°ã©ã ã«ãªã£ã¦ããã°ãåãã¨æãã¾ãï¼
Â