ºÇ½ª¹¹¿·¡§ orika_ex_miyako 2023ǯ01·î09Æü(·î) 20:00:11ÍúÎò
¡¡Animator ´ØÏ¢¤Îµ¡Ç½¤ÈÀßÄê
¡¡°ÜÆ°ÍѤΥ¢¥Ë¥á¤òÅÐÏ¿¤·¡¢¾ò·ï¤Ë¹ç¤ï¤»¤ÆÁ«°Ü(ÀÚ¤êÂؤ¨)¤Ç¤¤ë¤è¤¦¤ËÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
¡¡¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤Ï±ü¤¬¿¼¤¤¤¿¤á¡¢¤³¤³¤Ç¤Ï¼ê½ç¤ËɬÍפʾðÊó¤À¤±¤ò¥Ô¥Ã¥¯¥¢¥Ã¥×¤·¤Æµ½Ò¤·¤Æ¤¤¤Þ¤¹¡£
¡¡¤Þ¤¿¡¢Unity ¤Ë¤Ï Animator ¤È Animation ¤È¤¤¤¦µ¡Ç½¤¬¤¢¤ê¡¢Ì¾Á°¤Ï»÷¤Æ¤¤¤Þ¤¹¤¬¡¢°Û¤Ê¤ëµ¡Ç½¤Ë¤Ê¤ê¤Þ¤¹¡£
¤½¤¦¤¤¤Ã¤¿Ì¾¾Î¤Î°ã¤¤¤«¤é¤â¤ï¤«¤ë¤è¤¦¤Ë¡¢´Ö°ã¤¨¤Æ³Ð¤¨¤Æ¤·¤Þ¤¦¤Èǧ¼±¤ò½¤Àµ¤¹¤ë¤³¤È¤¬ÂçÊѤˤʤê¤Þ¤¹¤Î¤Ç¡¢
¤·¤Ã¤«¤ê¤È¤ï¤«¤ë¤Þ¤ÇÉü½¬¤ò¤·¤Æ¡¢Àµ¤·¤¤Ã챤ò³Ð¤¨¤Æ¤¤¤Ã¤Æ¤¯¤À¤µ¤¤¡£
¡¡Animation ¤Ï¡¢¼ÂºÝ¤Ë¥¢¥Ë¥á¡¼¥·¥ç¥ó¤òºîÀ®¤·¤ÆÅÐÏ¿¤¹¤ëµ¡Ç½¤Ç¤¹¡£¤³¤ì¤Ï¿§¡¹¤Ê¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤ª¤¤¤ÆÍøÍѤǤ¤Þ¤¹¡£
Î㤨¤Ð¡¢¿Í·¿¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È°Ê³°¤Ë¤â¡¢»Í³Ñ¤¤ Cube ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥µ¥¤¥º¤òÊѤ¨¤ë¥¢¥Ë¥á¡¼¥·¥ç¥ó¤òºîÀ®¤¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£
¡¡Animator ¤Ï¡¢ºîÀ®ºÑ¤Î¥¢¥Ë¥á¡¼¥·¥ç¥ó¤òÅÐÏ¿¤·¡¢¤É¤Î¤è¤¦¤ËÁ«°Ü(¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀÚ¤êÂؤ¨)¤µ¤»¤ë¤«¤òÀ©¸æ¤¹¤ëµ¡Ç½¤Ç¤¹¡£
¥×¥ì¥¤¥ä¡¼ÍѤΥ²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ï¡¢¤¹¤Ç¤Ë¤¤¤¯¤Ä¤«¤Î¥¢¥Ë¥á¡¼¥·¥ç¥ó¤¬ºîÀ®ºÑ¤Ç¤¹¤Î¤Ç¡¢º£²ó¤Ï¤³¤Á¤é¤Î Animator ¤Îµ¡Ç½¤òÍøÍѤ·¤Þ¤¹¡£
¡¡¤³¤ÎÉôʬ¤ÏÀâÌÀ¤Î¤ß¤Ç¤¹¤Î¤Ç¡¢ÀâÌÀ¤·¤ä¤¹¤¤ Unitychan ¥¢¥»¥Ã¥È¤òÍøÍѤ·¤ÆÀâÌÀ¤·¤Þ¤¹¡£
¡¡Unity ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ï Animator ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤è¤Ã¤Æ¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀ©¸æ¤ò¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤Î¹àÌÜÆâ¤Ë¤ª¤¤¤Æ¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀßÄê¤ò¹Ô¤Ã¤Æ¤¤¤ë¾ðÊó¤ò AnimatorController ¤È¤¤¤¤¤Þ¤¹¡£
¤³¤ì¤Ï¡¢Animator ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î Controller ¥×¥í¥Ñ¥Æ¥£¤Ë AnimatorController ¥Õ¥¡¥¤¥ë¤òÀßÄê¤ò¤¹¤ë¤³¤È¤Ç¡¢
¤½¤Î AnimatorController ¤Î¾ðÊó¤¬Å¬ÍѤµ¤ì¤Þ¤¹¡£
¡¡¤³¤Î AnimatorController ¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó¤È¤·¤ÆÍøÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤äÁ«°Ü¤Î¾ò·ï¤Ê¤É¤òÀßÄꤷ¤Þ¤¹¡£
£²£Ä¤Ç¤â£³£Ä¤Ç¤â¡¢¤³¤Î AnimatorController ¥Õ¥¡¥¤¥ë¤òÍøÍѤ·¤Æ¡¢»È¤¤¤¿¤¤¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÅÐÏ¿¤ä¡¢¥¢¥Ë¥á¤ÎÁ«°Ü¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
¡¡²¼µ¤Î¥¢¥¤¥³¥ó¤Î¥Õ¥¡¥¤¥ë¤¬ AnimatorController ¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
¡ã¥Õ¥©¥ë¥ÀÆâ¤Î AnimatorController ¥Õ¥¡¥¤¥ë¡ä
¡¡¤³¤Á¤é¤Î¥Õ¥¡¥¤¥ë¤ÏÀìÍѤΠAnimator ¥Ó¥å¡¼¤òÍøÍѤ·¤ÆÊÔ½¸¤ò¹Ô¤¤¤Þ¤¹¡£
¡¡£±¤Ä£±¤Ä¤Î¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Î¾ðÊó¤Ï¡¢Animation Clip ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬´ÉÍý¤·¤Æ¤¤¤Þ¤¹¡£
Î㤨¤Ð¥¸¥ã¥ó¥×¤Î¥¢¥Ë¥á¡¢°ÜÆ°¤Î¥¢¥Ë¥á¡¢¤È¤¤¤¦É÷¤Ë¡¢¥¢¥¯¥·¥ç¥ó¤Î¾õÂÖ¤´¤È¤Ë AnimationClip ¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤Î¾ðÊó¤ò AnimatorController ¥Õ¥¡¥¤¥ëÆâ¤Î State ¤È¤¤¤¦ÉôÉʤ˳ä¤êÅö¤Æ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ºÆÀ¸¤¹¤ë¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀßÄ꤬¹Ô¤¨¤Þ¤¹¡£
¡¡²¼µ¤Î¥¢¥¤¥³¥ó¤Î¥Õ¥¡¥¤¥ë¤¬ AnimationClip ¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
¥Õ¥¡¥¤¥ë¤òÁªÂò¤¹¤ë¤È¡¢¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Îɽ¼¨¤âÀìÍѤÎÆâÍƤËÀÚ¤êÂؤï¤ê¤Þ¤¹¡£
¡ã¥Õ¥©¥ë¥ÀÆâ¤Î AnimationClip ¥Õ¥¡¥¤¥ë¡ä
¡ã¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¡ä
¡¡´ðËÜŪ¤Ë£²£Ä¤ä£³£Ä¥â¥Ç¥ë¤Î¥¢¥»¥Ã¥È¤ËÊ£¿ô¤Î AnimationClip ¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¤½¤Á¤é¤òÍøÍѤ·¤Þ¤¹¡£
AnimationClip ¤Ï¼«ºî¤¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢Animation ¥Ó¥å¡¼¤Îµ¡Ç½¤òÍøÍѤ·¤Þ¤¹¡£
¡¡State Ʊ»Î¤ÏÌð°õ¤Ë¤è¤Ã¤Æ¤Ä¤Ê¤²¤Æ¤¤¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤ÎÌð°õ¤ò¥È¥é¥ó¥¸¥·¥ç¥ó¤È¤¤¤¤¤Þ¤¹¡£
¥È¥é¥ó¥¸¥·¥ç¥ó¤Î¤¢¤ë State Ʊ»Î¤Î¤ß¤¬Á«°Ü¤ò¹Ô¤Ã¤Æ¡¢ºÆÀ¸¤¹¤ë¥¢¥Ë¥á¡¼¥·¥ç¥ó¤¬ÀÚ¤êÂؤï¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¡ã¥¹¥Æ¡¼¥È¡ä
¡ã¥È¥é¥ó¥¸¥·¥ç¥ó¡ä
¡¡¤³¤ì¤¬°ìÈÌŪ¤Ê¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀßÄê¤Ç¤¹¡£
¤½¤Î¤Û¤«¤Ë¤â BlendTree ¤òÍøÍѤ·¤¿ÊýË¡¤â¤¢¤ê¤Þ¤¹¤¬¡¢º£²ó¤ÏÍøÍѤ·¤Æ¤¤¤Þ¤»¤ó¡£
¡¡Unity¤Îº¸¾å¤Ë¤¢¤ë¥á¥Ë¥å¡¼¤ÎÃ椫¤é Window => Animation => Animator ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£
Scene¥Ó¥å¡¼¤äGame¥Ó¥å¡¼¤Î¤è¤¦¤Ê Animator¥Ó¥å¡¼¤¬¥¨¥Ç¥£¥¿¡¼¤Î¥ì¥¤¥¢¥¦¥ÈÆâ¤ËÄɲ䵤ì¤Þ¤¹¡£
Animator¥Ó¥å¡¼(»²¹Í²èÁü¡£¤³¤Î¾õÂÖ¤Çɽ¼¨¤µ¤ì¤ëÌõ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)
¡¡Animator¥Ó¥å¡¼¤ÎÁàºî¤Ç¤¹¤¬¡¢¥Þ¥¦¥¹¤Î¥Û¥¤¡¼¥ë¥Ü¥¿¥ó¤ò²¡¤·¤Ê¤¬¤é¥Þ¥¦¥¹¤ò°ÜÆ°¤µ¤»¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢Animator¥Ó¥å¡¼¤ÎÃæ¤ò¾å²¼º¸±¦¤Ë°ÜÆ°¤Ç¤¤Þ¤¹¡£
¤Þ¤¿¥Û¥¤¡¼¥ë¤ò²óž¤µ¤»¤ë¤È¡¢¥Ó¥å¡¼Æâ¤Î¥º¡¼¥à¥¤¥ó¡¦¥º¡¼¥à¥¢¥¦¥È¤¬½ÐÍè¤Þ¤¹¡£
¡¡¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀÚ¤êÂؤ¨¤ÎÀßÄê¤Ï¡¢¤³¤ÎAnimator¥Ó¥å¡¼¤ÎÃæ¤Ç¹Ô¤¤¤Þ¤¹¡£
¡¡Animator ¥Ó¥å¡¼¤Ç¤Ï¤¹¤Ù¤Æ¤Î AnimatorController ¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢ÀßÄꤷ¤¿¤¤¥Õ¥¡¥¤¥ë¤òÁªÂò¤·¤Æ¡¢É½¼¨ÆâÍƤòÀÚ¤êÂؤ¨¤Æºî¶È¤ò¹Ô¤¤¤Þ¤¹¡£
¡¡AnimatorController ¤ÎÀßÄê¤ò¹Ô¤¤¤¿¤¤¾ì¹ç¡¢ÂоݤȤʤë AnimatorController ¥Õ¥¡¥¤¥ë¼«ÂΤ«¡¢
¤½¤Î AnimatorController ¤¬¥¢¥µ¥¤¥ó¤µ¤ì¤Æ¤¤¤ë¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¤¤¤º¤ì¤«¤òÁªÂò¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¡¡=>¡¡¼¡¤Ï¡¡£³£Ä¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÀßÄꢡ¡¤Ç¤¹¡£
- ¥«¥Æ¥´¥ê¡§
- ¿Ê³Ø/¥¹¥¯¡¼¥ë
- ¥×¥í¥°¥é¥ß¥ó¥°
¥³¥á¥ó¥È¤ò¤«¤¯