VRChat楽ããã§ã¾ããï¼åã¯ã¼ã£ã¡ãªã®ã§Boothã§è¡£è£ ãè²·ã£ã¦ãUnityã§çãæ¿ãã楽ããã§ãæã æ£æ©ã«åºãããã®ã¨ãã©ã¸ãªä½æããããããã§ãã
2å¹´ã¶ãã®æ稿ãããã§ããã®ãä¸ç¬æ©ã¾ãªãã£ãããã§ããªããã§ãããæ°ã«ãããè² ããªæ°ãããã®ã§æ°ã«ããªããã¨ã«ãã¾ããã
tl;dr
- ã¢ãã¿ã¼ã®Playable Layerã«è¨å®ããã¦ããAnimatorã«å«ã¾ããMotionãå·®ãæ¿ããNDMFãã©ã°ã¤ã³ãä½ã£ãã
- VCCããå°å ¥ã§ããããURLã¯ãã https://tmyt.github.io/vpm/
- GameObjectãç½®ãã¦ã
Avatar Motion Changer
ã¨ããComponentãè¨å®ãã¦ã¤ãã£ã¦ã
åç½®ã
ãã¦ãã¢ãã¿ã¼ã®ã¢ã¼ã·ã§ã³*1ãå·®ãæ¿ããããã¨ãæãã¾ããã¾ãã å ·ä½çã«ã¯ãAFKãå¥ãªãã®ã«å¤ããããã¸ã£ã³ãã¢ã¼ã·ã§ã³ãå¤ãããããã³ããµã¤ã³ã«å²å½ãã£ã¦ããã¢ã¼ã·ã§ã³ãå¤ãããã§ããããã
ãããã®å¤æ´ãããã«ã¯ã¢ãã¿ã¼ã«ä»å±ãã¦ããAnimatorãè¤è£½ãã¦ç·¨éãã¦ã¢ãã¿ã¼ã«è¨å®ã¨ããæé ãè¸ã¾ãªãã¨ãããªãã§ã*2ã ãã ãAnimatorãè¤è£½ãã¦ç·¨éã¿ãããªã®ã¯ã§ããã°ãããããªãã®ã§NDMFã®åã§Playable Layerã®Animatorã«è¨å®ããã¦ããMotionãå·®ãæ¿ãããã¤ãä½ã£ã¦ã¿ã¾ããã
å°å ¥æ¹æ³ã¨ä½¿ãæ¹
VCCããç°¡åå°å
¥ã§ããããã«ãã¦ã¿ã¾ãããæå
ã®VCCã¨å人ã«ãã£ã¦ããã£ãéãã¤ã³ã¹ãã¼ã«ã§ãã¦ããã®ã§å¤åãã£ã¦ãã¨æãã¾ãã
次ã®ãã¼ã¸ããAdd to VCC
ãã¦VCCãããAvatar Motion Changer
ã¨ããã®ãã¤ã³ã¹ãã¼ã«ãã¦ãã ãããNon-Destructive Modular Framework ãå¿
è¦ã§ãããModula Avatarãã¤ã³ã¹ãã¼ã«æ¸ã¿ã§ããã°ãã§ã«å
¥ã£ã¦ãã¾ãã
VCCããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ã§ããããå®éã«ã¢ãã¿ã¼ã«çµã¿è¾¼ãã§ããã¾ãã ä»åã¯ãã½ãã§ãããã®ããªã®ã¡ããã«ããã«ããã®ããªã®ã¡ããã®æã§ãããããããããã¤ãè¨å®ãã¦ã¿ã¾ãã ã¢ãã¿ã¼ãªã©ã®Unity Packageã¯ãã§ã«ã¤ã³ãã¼ãããã¦ããç¶æ ã¨ãã¾ãã
ã¾ãGameObjectãã¢ãã¿ã¼ã®é
ä¸ã«è¿½å ãããã®GameObjectã«Avatar Motion Changer
ã¨ããã³ã³ãã¼ãã³ãã追å ãã¾ãã*3
List is Empty ã¨åºã¦ããè¿ãã®ï¼ãã¿ã³ã2åæ¼ãã¾ããããã¨é ç®ã2åå¢ããã®ã§ããããããã¦ã³ããããæãã«è¨å®ãã¾ããAnimationã®ã¨ããã¯ãè¨å®ãããMotionãããã§ã¯FUKA_Fist_Triggerããããããã¾ãã
ãã¨ã¯ãã¬ã¤ãã¿ã³ãæ¼ãã¨ããã¢ãã¿ã¼ãã¢ãããã¼ãããã¨ããªã©ã®ãã«ãæã«èªåã§ã¢ã¼ã·ã§ã³ãå·®ãå¤ããã¾ãã ãã¨ã®Animatorãå¤æ´ãããªãã®ã§ã¢ãã¿ã¼ã®ãã¬ãããæ´æ°ãããã¨ããåºæ¬çã«æ°ã«ããªãã¦ããã¯ãâ¦ã§ãã
å¶ç´äºé
- Playable Layerã«å¯¾ããAnimatorãæªè¨å®ã®ç¶æ ã®ãã®ã¯ãã®ã³ã³ãã¼ãã³ãããè¨å®ãããã¨ã¯ã§ãã¾ãããå°æ¥çã«ã§ããããã«ãªããããããªãã§ããããããã使ããã¨ããªããããªã®ã§å¯¾å¿ã¯æªå®ã§ãã
- Stateã®Motion以å¤ã®ãã©ã¡ã¼ã¿ã®è¨å®ã«ã¯ç¾æç¹ã§ã¯å¯¾å¿ãã¦ãã¾ãããã©ããã¦ãå¿ è¦ã«ãªã£ãã対å¿ãããããããªãã§ãããã¡ãã使ããªããããªã®ã§å¯¾å¿ã¯æªå®ã§ãã
ãã®ä»
- ã²ã¨ã¤ã®GameObjectã«è¤æ°ã¤ãã¦ãæ£ããåãããã«ä½ã£ã¦ããã¯ãã§ãããã¹ããã¦ãªãã®ã§æ¬å½ã«åããã¯ãããã¾ããã
- ãªãªã¸ãã«ã®ãã¼ã¿ãå¤æ´ããã¦ããªããã¨ã»Playæã®ä¸æãã¡ã¤ã«ã§ã®ã¿å¤æ´ããã¦ãããã¨ã»ã¢ãããã¼ãããã¢ãã¿ã¼ã§ã¯å¤æ´ãåæ ããã¦ãããã¨ã¯ååã«ç¢ºèªãã¦ãã¾ããã100%ãªãªã¸ãã«ãã¼ã¿ãå®å ¨ã¨ããä¿éã¯ã§ããªãã®ã§åèªããã¯ã¢ããã¯æ®ã£ã¦ãã ããã
ãããã«
ã¢ã¼ã·ã§ã³å ¥ãæ¿ããã¨ã¦ãç°¡åã«ãªãã®ã§ã¿ããªä½¿ã£ã¦ã¿ã¦ãï¼*4
ããã¨ãããããã®è¨å®ã§ãããï¼ãããè¨å®ãã¾ãã§ããªããï¼ã¿ãããªã®ããã£ããããã£ã¨æãã¦ãã ãã
*1:ããã§æãã¢ã¼ã·ã§ã³ã¯ãPlayable Layerã«è¨å®ããã¦ããAnimatorã®StateMachineå ã«è¨å®ããã¦ããAnimation Clipãæãã¾ã
*2:ãã¶ããããæ¬å½ã«ãããªã®ãã¯ããããªããã©ã¿ããªAnimatorç·¨éããã£ã¦æ¸ãã¦ããããã¶ããã
*3:ã¢ãã¿ã¼é ä¸ã®ã©ããã«Componentãè¨å®ããã¦ããã°åãã®ã§è¿½å ããªãã¦ã大ä¸å¤«ã§ãããå¾ããè¦ãæã«ããããããã®ã§ã¨ãããã追å ãã¾ã
*4:ããããããã使ãã·ã¼ã³ãå¤åã»ã¨ãã©ãªã