ãä¹ ãã¶ãã§ããè¦ãã¦ãæ¹ãããããã§ããããã ã¿ã¤ãã«ã®éããPhysics.CapsuleCast()ã«ã¤ãã¦ã®è³ªåãªã®ã§ããã Unityã®ãªãã¡ã¬ã³ã¹(è±èª)ã§ã¯ããã®é¢æ°ã¯ ã³ã¼ã: static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, float distance = Mathf.Infinity, int layerMask = DefaultRaycastLayers); ã¨ãªã£ã¦ãã¾ãã point1ããpoint2ã¾ã§ãåå¾radiusã®å¤§ããã®ã«ãã»ã«ãé ç½®ããã ã¨ããã®ã¯ãããã®ã§ãããdirectionã¨distanceã®æå³ããã¾ãã¡ç解ã§ãã¾ããã ãªãã¡ã¬ã³ã¹ã§ã¯ãdirectionã®æ¹åã«distanceã®é·ãã ãã«ãã»ã«ãã¹ã¤ã¼
{{#tags}}- {{label}}
{{/tags}}