box2d, asBox2d ã§å¤è§å½¢ãä½ãã¨ãã«ã¯ b2PolygonDef ã使ãã®ã ããã©ãã¯ã¾ããã¤ã³ããæå¤ã«å¤ããåºæ¬vertexCount ã«é ç¹ã®æ°ãvertices é åã«é ç¹ã®åº§æ¨ãè¨å®ããã var shapeDef:b2PolygonDef = new b2PolygonDef(); shapeDef.vertexCount = 3; shapeDef.vertices[0].Set(0, 0); shapeDef.vertices[1].Set(50, 50); shapeDef.vertices[2].Set(50, -50); shapeDef ãä½ã£ããã¨ã«ã©ããã¹ããã¯ãBox2DFlashAS3 ã®åç´ãªãµã³ãã«ã¨ä½¿ãæ¹ (2.0.2ç) ãã覧ãããã¯ã¾ããã¤ã³ãï¼ï¼ç¹ãå®ç¾©ããé çªã«æ³¨ææè¨åãã«åº§æ¨ãããªãã¨ãã¡ãåæè¨å¨ãã«ããã¨ãè½ã¡ã¦ããªãã£
{{#tags}}- {{label}}
{{/tags}}