ºÇ½ª¹¹¿·¡§ orika_ex_miyako 2023ǯ01·î04Æü(¿å) 23:55:48ÍúÎò
¡ã¼ÂÁõÆ°²è¡ä
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¼ê½ç£¶¡¡¡¼¥«¥á¥é¤ÎÄɽ¾µ¡Ç½¤Î¼ÂÁõ¡¼
¡¡£±¡¥Cinemachine¤òUnity¤ËƳÆþ¡Ê¥¤¥ó¥Ý¡¼¥È¡Ë¤¹¤ë ¡¡£²¡¥1ÂæÌܤÎVirtual Camera¤òÀßÃÖ¡¦ÀßÄꤹ¤ë ¡¡£³¡¥¥²¡¼¥à¤ò¼Â¹Ô¤·¤ÆÆ°ºî¤ò³Îǧ¤¹¤ë
¡¡Cinemachine¡Ê¥·¥Í¥Þ¥·¥ó¡Ë¤Ï¡¢Unity¤¬ÌµÎÁ¤ÇÄ󶡤·¤Æ¤¤¤ë¡¢¥«¥á¥é¤Îµ¡Ç½¤ò¤Þ¤È¤á¤¿ Packege ¤Ë¤Ê¤ê¤Þ¤¹¡£
Âоݤò»ØÄꤹ¤ë¤³¤È¤Ç¥«¥á¥é¤¬¼«Æ°¤ÇÄÉÈø¤·¤¿¤ê¡¢Ê£¿ô¤Î¥«¥á¥é¤ò¥²¡¼¥à²èÌÌÆâ¤ËÇÛÃÖ¤·¤Æ¤½¤ì¤é¤ÎÀ©¸æ¤ò¤·¤¿¤ê¤Ç¤¤ëµ¡Ç½¤Ê¤É¤ò¼ÂÁõ¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
¡¡Î㤨¤Ð¡¢¥«¥á¥é¤ò2ÂæÍÑ°Õ¤·¡¢¥¨¥ê¥¢¤ò°ÜÆ°¤¹¤ëºÝ¤Ë¼«Æ°Åª¤ËÀÚ¤êÂؤ¨¤Æ¤ß¤ë¤È¡¢²¼µ¤ÎÆ°²è¤Î¤è¤¦¤Ê¥«¥á¥é¥ï¡¼¥¯¤Ç¥²¡¼¥à¤ò¿Ê¹Ô¤·¤Æ¤¯¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
2Âæ¤Î¥«¥á¥é¤¬ÀÚ¤êÂؤï¤ë¤È¤¤Ë¤Ï¡¢Á°¤Î¥«¥á¥é¤È¼¡¤Î¥«¥á¥é¤È¤Ï¡¢¼«Æ°Åª¤ËÊä´Ö½èÍý¤µ¤ì¤Æ¥¹¥à¡¼¥¹¤Ë¤Ä¤Ê¤¬¤ê¤Þ¤¹¡£¤³¤ì¤âCinemachine¤Îµ¡Ç½¤Î1¤Ä¤Ç¤¹¡£
¡ãÊ£¿ô¥«¥á¥é¤ÎÀÚ¤êÂؤ¨À©¸æ¤Î¼ÂÁõÎãÆ°²è¡ä
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¡¡¤Ê¤ªCinemachine¤Ïµ¡Ç½¤¬ËÄÂç¤Ç¤¢¤ë¤¿¤á¡¢¤³¤Î¼ê½ç¤Ç¤Ï»ÈÍѤ¹¤ëµ¡Ç½¤Ë¤Ä¤¤¤Æ¤·¤«ÀâÌÀ¤ò¤·¤Æ¤¤¤Þ¤»¤ó¡£
¾Ü¤·¤¯¤Ï¼«Ê¬¤ÇÄ´¤Ù¤Æ¼ÂÁõ¤ò¹Ô¤Ã¤Æ¤ß¤Þ¤·¤ç¤¦¡£ÀâÌÀ¤òÆɤߤʤ¬¤é¤¤¤¸¤Ã¤Æ¤¤¤ë¤È¼«Á³¤Ëµ¡Ç½¤¬Ê¬¤«¤Ã¤Æ¤¤Þ¤¹¡£
»²¹Í¥µ¥¤¥È
Unity¸ø¼°ÍÍ
Cinemachine ¤ò»È¤Ã¤Æ¥«¥á¥é¤òÀßÄꤷ¤Þ¤·¤ç¤¦
https://forpro.unity3d.jp/unity_pro_tips/2019/07/2...
LIGHT11 ÍÍ
¡ÚUnity¡ÛCinemachine¤ÎÁ´µ¡Ç½¤ò²òÀ⡪¤¢¤ê¤È¤¢¤é¤æ¤ë¥«¥á¥é¥ï¡¼¥¯¤ò¹â¥¯¥ª¥ê¥Æ¥£¤Ëºî¤ëÊýË¡Áí¤Þ¤È¤á
https://light11.hatenadiary.com/entry/2019/10/24/2...
¡¡MainCamera1Âæ¤ò»È¤Ã¤Æ¥²¡¼¥à¥·¡¼¥ó¤ò±Ç¤·¤Æ¤¤¤¯¤³¤È¤â¤Ç¤¤Þ¤¹¤¬¡¢º£²ó¤Ï±é½Ð¤Î°ì´Ä¤È¤·¤Þ¤·¤Æ¡¢¤³¤ÎCinemachine¤Îµ¡Ç½¤ò»È¤Ã¤Æ¤¤¤¤Þ¤¹¡£
ºÇ½ªÅª¤Ë¤Ï¡¢¥¹¥Æ¡¼¥¸¤ò°ÜÆ°¤¹¤ëºÝ¤Ë¥«¥á¥é¤ò½ç¼¡ÀÚ¤êÂؤ¨¤Æ¤¤¤¯¤³¤È¤Ç£³£Ä¶õ´Ö¤ò¾å¼ê¤¯±é½Ð¤Ë¼è¤êÆþ¤ì¤¿¥¹¥Æ¡¼¥¸¤òºîÀ®¤¹¤ë¤³¤È¤òÌÜŪ¤Ë¤·¤Æ¤¤¤¤Þ¤¹¡£
¡¡¤Þ¤º¤Ïº£²ó¤ÎÀ߷פǤϡ¢¥×¥ì¥¤¥ä¡¼¤ÎÄɽ¾¤ò¹Ô¤¦µ¡Ç½¤Î¤ß¤ò¼ÂÁõ¤·¤Æ¤¤¤¤Þ¤¹¡£
¥×¥ì¥¤¥ä¡¼¤ò¼Ð¤á¾å¶õÊý¸þ¤«¤é¸«²¼¤í¤·¤¿¥«¥á¥é»ëÅÀ¤Ç¥²¡¼¥à¤¬¿Ê¹Ô¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
¡¡¥¨¥Ç¥£¥¿¡¼Æâ¤Ë¤¢¤ë¡¢PackageManager¥Ó¥å¡¼¤òÁªÂò¤·¤Þ¤¹¡£
¤â¤·¤â¥¨¥Ç¥£¥¿¡¼Æâ¤ËPackageManager¥Ó¥å¡¼¤¬¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢Unity¤Îº¸¾å¤Î¥á¥Ë¥å¡¼¤«¤é¡¢Window => PackageManager ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡PackageManager¥Ó¥å¡¼Æâ¤Îº¸¾å¤Î Packages ¤òÁªÂò¤¹¤ë¤È¥×¥ë¥À¥¦¥ó¥á¥Ë¥å¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢¤³¤ÎÃ椫¤é Unity Registry ¤òÁªÂò¤·¤Þ¤¹¡£
Æɤ߹þ¤ß¤¬»Ï¤Þ¤ê¡¢PackageManager¥Ó¥å¡¼Æâ¤Îº¸Â¦¤Î¹àÌܤËÊ£¿ô¤Î¥¢¥»¥Ã¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢¤³¤ÎÃ椫¤é Cinemachine ¤òõ¤·¤Æ¥¯¥ê¥Ã¥¯¤¯¤À¤µ¤¤¡£
¡¡
¡¡Cinemachine ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ä¤¤¤Æ¤ÏºÇ¿·¤Î¤â¤Î¤¬¼«Æ°Åª¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢Êѹ¹¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
Packages¤ò Unity Registry ¤ËÊѹ¹
¼ê½çÆ°²è¡¡Packages¤ò Unity Registry ¤ËÊѹ¹
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
Cinemachine¤Î¥¤¥ó¥Ý¡¼¥È(²èÁü¤È¥Ð¡¼¥¸¥ç¥ó¤¬°Û¤Ê¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹)
¡¡
¡¡Cinemachine Æâ¤Î±¦²¼¤Ë¤¢¤ë Download ¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Þ¤¹¡£Download¤¬½ªÎ»¤¹¤ë¤È Import ¥Ü¥¿¥ó¤Ë¤Ê¤ê¤Þ¤¹¤Î¤Ç¡¢¤½¤Á¤é¤â¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
Import¤¹¤ëÆâÍƤòÁªÂò¤¹¤ë¥¦¥¤¥ó¥É¥¦¤¬³«¤¤Þ¤¹¤Î¤Ç¡¢¤¹¤Ù¤Æ¤ÎÆâÍƤΠImport ¤ò¹Ô¤¤¤Þ¤¹¤Î¤Ç¡¢¤½¤Î¤Þ¤Þ Import ¥Ü¥¿¥ó¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡¥×¥í¥°¥ì¥¹É½¼¨¤¬½Ð¤Æ¡¢¤·¤Ð¤é¤¯¤¹¤ë¤È Import ¤¬´°Î»¤·¤Þ¤¹¡£Import ¤µ¤ì¤¿ Cinemachine ¤Ï¡¢Assets Æâ¤Ç¤Ï¤Ê¤¯¤Æ Packages Æâ¤ËÄɲ䵤ì¤Þ¤¹¡£
Cinemachine ¥Õ¥©¥ë¥À¤Î¾ì½ê
¡¡°Ê¾å¤ÇCinemachine¤ÎImport¤Î¼ê½ç¤Ï½ªÎ»¤Ç¤¹¡£Â³¤¤¤Æ¡¢Virtual Camera¤òÀßÃÖ¤·¤Æ¤¤¤¤Þ¤¹¡£
¡¡Áá®Cinemachine¤Îµ¡Ç½¤ò³èÍѤ·¤Æ¤¤¤¤Þ¤¹¡£
¡¡Unity¤ËCinemachine¤¬¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¤È¡¢º¸¾å¤Î¥á¥Ë¥å¡¼Æâ¤Î GameObject Æâ¤Ë¡¡Cinemachine ¤Î¹àÌܤ¬Äɲ䵤ì¤Þ¤¹¡£
(¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¾ì¹ç¤Ë¤Ï¡¢Ä¾ÀÜ¥á¥Ë¥å¡¼¤Ë Cinemachine ¤Î¹àÌܤ¬Äɲ䵤ì¤Þ¤¹)
Unity¡¡¥á¥Ë¥å¡¼
¡¡¤³¤ÎÃæ¤Ë Virtual Camera¤ò¥²¡¼¥à¥·¡¼¥ó¤ËÄɲ乤륳¥Þ¥ó¥É¤¬´Þ¤Þ¤ì¤Æ¤Þ¤¹¤Î¤Ç¡¢¼Â¹Ô¤·¤Æ¤¤¤¤Þ¤·¤ç¤¦¡£
³Æ¹àÌܤϤ¹¤Ù¤Æ Virtual Camera¤òÄɲ乤ë¥á¥Ë¥å¡¼¤Ë¤Ê¤Ã¤Æ¤ª¤ê¡¢°ìÈÖ¾å¤Î Virtual Camera ¤¬¥×¥ì¡¼¥ó¤Î¾õÂÖ¤ÇÄɲ䵤ì¤ë¥³¥Þ¥ó¥É¤Ç¤¹¡£
¤½¤ì°Ê³°¤Î¥³¥Þ¥ó¥É¤Ï¥×¥ì¡¼¥ó¤Î¾õÂ֤ǤϤʤ¯¡¢Virtual Camera¤Ë¥«¥¹¥¿¥àÀßÄê¤òÄɲä·¤¿¾õÂÖ¤ÇÄɲ䷤Ƥ¯¤ì¤ë¥Æ¥ó¥×¥ì¡¼¥ÈŪ¤Ê¥³¥Þ¥ó¥É¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
»²¹Í¥µ¥¤¥È
¤Î¤Ã¤Ô¤ÎÈ÷˺Ͽ ÍÍ
Cinemachine¤Î»È¤¤Êý¡¡ÊVirtual Camera¡Ë
https://nopitech.com/2017/10/26/post-182/
¡¡GameObject => Cinemachine => Virtual Camera ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ò¥¨¥é¥ë¥¡¼¤Ë CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬Äɲ䵤ì¤Þ¤¹¡£
¤³¤ì¤Ï CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò»ý¤Ä¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ç¤¢¤ê¡¢ÆÃÊ̤ÊÀßÄ꤬¤Ê¤¤´ðËÜŪ¤Ê¤â¤Î¤Ç¤¹¡£
¤³¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò»ý¤Ä¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò Virtual Camera ¤ÈÁí¾Î¤·¤Æ¤¤¤Þ¤¹¡£
¥Ò¥¨¥é¥ë¥¡¼Îã
¡¡Virtual Camera¤Ç¤¢¤ë CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬ºîÀ®¤µ¤ì¤ëƱ»þ¤Ë¡¢MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î±¦Ã¼¤Ë¿·¤·¤¤¥¢¥¤¥³¥ó¤¬Äɲ䵤ì¤Þ¤¹¡£
¥Ò¥¨¥é¥ë¥¡¼¤Î MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È
¡¡Virtual Camera¤¬¤¢¤ë¸Â¤ê¡¢¥²¡¼¥à²èÌ̤ò±Ç¤¹¥«¥á¥é¤ÎÌò³ä¤Ï Virtual Camera ¤È¤Ê¤ê¡¢¤½¤Î Virtual Camera ¤Î±Ç¤·¤¿ÆâÍƤòÅê±Æ¤¹¤ë¥«¥á¥é¤¬ MainCamera ¤ÎÌò³ä¤Ë¤Ê¤ê¤Þ¤¹¡£
¤½¤Î¤¿¤á¤³¤Î¥¢¥¤¥³¥ó¤Ï¡¢º£¸½ºß¡¢MainCamera ¤Ï Virtual Camera ¤ÈÏ¢·È¤·¤Æ¤¤¤ë¤Î¤Ç¡¢Ä¾ÀÜÆ°¤«¤¹¤³¤È¤¬¤Ç¤¤Ê¤¯¤Ê¤ë¤³¤È¤ò¼¨¤¹¥¢¥¤¥³¥ó¤Ç¤¹¡£
¡¡MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤ò³Îǧ¤·¤Þ¤¹¡£
¿·¤·¤¯ CinemachineBrain ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤¬Äɲ䵤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
¤³¤Á¤é¤¬Àè¤Û¤ÉÀâÌÀ¤·¤Þ¤·¤¿¡¢MainCamera¤ÎÌò³ä¤ò Virtual Camera¤Î±Ç¤·¤¿ÆâÍƤòÅê±Æ¤¹¤ë¤è¤¦¤ËÀßÄꤷ¤Æ¤¤¤ë¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç¤¹¡£
º£²ó¤Ï¤³¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÎÀßÄê¤ÏÊѹ¹¤·¤Þ¤»¤ó¤Î¤Ç¡¢¥¢¥¿¥Ã¥Á¤µ¤ì¤Æ¤¤¤ë³Îǧ¤ò¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£
¡¡¤Þ¤¿Transform¤ÎÃͤâÃíÌܤ·¤Æ¤¯¤À¤µ¤¤¡£¤¢¤È¤Ç³Îǧ¤·¤Þ¤¹¤¬¡¢ Virtual Camera¤Ç¤¢¤ë CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÎTransform¤ÎÃͤ˼«Æ°Åª¤ËÀßÄ꤬¹Ô¤ï¤ì¤Þ¤¹¡£¡¡
MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü(Transform ¤ÎÃͤϻ²¾È¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤)
¡¡CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î̾Á°¤ÏǤ°Õ¤Î̾Á°¤ËÊѹ¹¤·¤Æ¹½¤¤¤Þ¤»¤ó¡£
¡¡¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò³Îǧ¤·¤Þ¤·¤ç¤¦¡£
CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤¬¥¢¥¿¥Ã¥Á¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤è¤Ã¤Æ VirtualCamera ¤¬µ¡Ç½¤·¤Æ¤¤¤Þ¤¹¡£
¤Þ¤¿ MainCamera ¤Ë¥¢¥¿¥Ã¥Á¤µ¤ì¤Æ¤¤¤ë CinemachineBrain ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤È¤³¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤È¤¬Ï¢Æ°¤·¤Æ¤¤¤Þ¤¹¡£
¡¡¼ç¤Ë¥«¥á¥é¤Îµ¡Ç½¤òÀßÄꤷ¤Æ¤¤¤ë¤Î¤Ï¡¢Body ¤È Aim ¤È¤¤¤¦ÀßÄê¤Ç¤¹¡£
¡¡Body ¤Ï¡¢¥«¥á¥é¤ò¤É¤Î¤è¤¦¤ËÀ©¸æ¤¹¤ë¤Î¤«¤òÀßÄꤹ¤ëÆâÍƤǤ¹¡£½é´üÀßÄê¤Ç Transposer ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤ÎÀßÄê¤Ë¤·¤Æ¤ª¤¯¤È¡¢¥«¥á¥é¤¬ Follow ÂоݤȤ·¤Æ»ØÄꤷ¤¿¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È(º£²ó¤Ï¥×¥ì¥¤¥ä¡¼)¤ò¡¢°ìÄê¤Îµ÷Î¥¤òÃÖ¤¤¤ÆÄɽ¾¤·¤Þ¤¹¡£
¡¡Aim ¤Ï¡¢¥«¥á¥é¤Î²óž¤ÎÀßÄê¤Ç¤¹¡£½é´üÀßÄê¤Ç Composer ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤ÎÀßÄê¤Ë¤·¤Æ¤ª¤¯¤È¡¢Look At Âоݤ˻ØÄꤷ¤¿¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥«¥á¥é¥Õ¥ì¡¼¥àÆâ¤Ë°Ý»ý¤·¤Þ¤¹¡£
¡¡º£²ó¤Ï¤³¤Á¤é¤ÎÀßÄê¤òÊѹ¹¤·¤ÆÍøÍѤ·¤Þ¤¹¡£
»²¹Í¥µ¥¤¥È
Unity ¸ø¼°¥Þ¥Ë¥å¥¢¥ë
Transposer
https://docs.unity3d.com/ja/Packages/com.unity.cin...
Unity ¸ø¼°¥Þ¥Ë¥å¥¢¥ë
Transposer
https://docs.unity3d.com/ja/Packages/com.unity.cin...
CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü
¡¡CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î Body ¤ÎÀßÄ꤬¡¢¤É¤Î¤è¤¦¤Ë Virtual Camera ¤¬¿¶¤ëÉñ¤¤¤ò¤¹¤ë¤«¤ò·èÄꤷ¤Æ¤¤¤Þ¤¹¡£
Virtual Camera ¤ÇºîÀ®¤·¤¿¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎBody¤ÎÀßÄ꤬ Transposer ¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï £³£ÄÍÑ¤Ë Virtual Camera ¤ò¿¶¤ëÉñ¤¦¤è¤¦¤Ë¤¹¤ëÀßÄê¤Ç¤¹¡£
¡¡¸½ºß¤Ï Body ¤È Aim ¤ÎÉôʬ¤Ë²«¿§¤¤·Ù¹ð¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¡£¤³¤ì¤Ï¥«¥á¥é¤ÎÀßÄê¤ËÉÔÈ÷¤¬¤¢¤ë¤³¤È¤ò¼¨¤¹·Ù¹ð¤Ç¤¹¡£
¤³¤ì¤é¤ÏÀßÄê¤ò¹Ô¤Ã¤Æ¤¤¤¯¤³¤È¤Ç²ò¾Ã¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢¤¤¤Þ¤Ï·Ù¹ð¤Ïɽ¼¨¤µ¤ì¤Æ¤¤¤ë¾õÂÖ¤ÇÌäÂꤢ¤ê¤Þ¤»¤ó¡£
¡¡CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤Ä¤¤¤Æ¡¢£³ÅÀ¡¢Êѹ¹¤¹¤ëÉôʬ¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢½çÈÖ¤ËÊѹ¹¤·¤Æ¤¤¤¤Þ¤¹¡£
¡¡¥Ò¥¨¥é¥ë¥¡¼¤Ë¤¢¤ë CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÁªÂò¤·¤Þ¤¹¡£
ºÇ½é¤Ë¡¢CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤¢¤ë Body ¤Î¹àÌܤòÁªÂò¤·¡¢Body ¤ÎÀßÄê¤ò Transposer ¤«¤é FramingTransposer ¤ËÊѹ¹¤·¤Þ¤¹¡£
¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü(FramingTransposer ¤ÎÉôʬ¤À¤±¤ß¤Æ¤¯¤À¤µ¤¤¡£³Æ¿ôÃͤϻ²¾È¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£)
¡¡¤³¤Î FramingTransposer ¤Ï £²£ÄÍѤΥ«¥á¥é¤ÎÄɽ¾µ¡Ç½¤òÀßÄꤹ¤ë¤â¤Î¤Ç¤¹¡£
£³£Ä¤Ç¤âÀµ¾ï¤ËÆ°ºî¤¹¤ë¤¿¤á¡¢¤³¤Á¤é¤òÍøÍѤ·¤Æ¤¤¤¤Þ¤¹¡£
¡¡¤Ä¤Å¤¤¤Æ¡¢Æ±¤¸¤¯ CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤¢¤ë Follow ¥×¥í¥Ñ¥Æ¥£¤òÀßÄꤷ¤Þ¤¹¡£
¤³¤ì¤Ï Body ¤ÎÀßÄ꤬ FramingTransposer ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢Follow ¤ËÀßÄꤷ¤¿Ç¤°Õ¤Î¥¿¡¼¥²¥Ã¥È¡ÊTransform¡Ë¤ò¥«¥á¥é¤ËÄÉÀפµ¤»¤ëµ¡Ç½¤Ç¤¹¡£
¡¡Follow ¥×¥í¥Ñ¥Æ¥£¤Ë¡¢¥Ò¥¨¥é¥ë¥¡¼¤Ë¤¢¤ë¥×¥ì¥¤¥ä¡¼¥¥ã¥é¥¯¥¿¡¼¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤·¤Æ¥¢¥µ¥¤¥ó¤·¤Æ¤¯¤À¤µ¤¤¡£
CM vcam1 ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü(Transform ¤Ê¤É¤Î¾ðÊó¤Ï»²¹Í¤Ë¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤)
¡¡Follow ¤òÀßÄꤹ¤ë¤È¡¢Body ¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤¿·Ù¹ð¤¬²ò¾Ã¤µ¤ì¤Þ¤¹¡£
¡¡Follow ¤Î²¼¤Ë¤¢¤ë Lens ¤Î¹àÌÜ¤Ï MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î Camera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤â¤¢¤ë FOV ¤ä ClippingPlanes ¤ÎÀßÄêÃͤǤ¹¡£
¤³¤ÎÃͤâǤ°Õ¤ÎÃͤËÄ´À°¤·¡¢¥²¡¼¥à²èÌ̤ι³Ñ¤ä¡¢¥«¥á¥é¤Î±Ç¤¹µ÷Î¥¤ÎÀßÄê¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£
½é´üÃͤΤޤޤǤâÌäÂê¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢¤³¤Î¹àÌܤ¬¤É¤¦¤¤¤Ã¤¿µ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤ë¤«¤Ï³Ð¤¨¤Æ¤ª¤¯Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
¡¡Lens ¤ÎÀßÄêÃͤâ MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î Camera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÈϢư¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢
CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÎÀßÄê¤òÊѹ¹¤¹¤ë¤È¡¢MainCamera ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î Camera ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÎÊý¤âƱ¤¸ÃͤËÊѹ¹¤µ¤ì¤Þ¤¹¡£
¡¡Game ¥Ó¥å¡¼¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£
¥×¥ì¥¤¥ä¡¼¤òÃæ¿´¤Ë¡¢Game ¥Ó¥å¡¼¤ËÀÖ¤¤ÈϰϤȤ½¤¦¤Ç¤Ï¤Ê¤¤ÈϰϤ¬É½¼¨¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
Follow ¤òÀßÄꤷ¤¿¤¿¤á¡¢¥«¥á¥é¤¬ Follow ¤ËÀßÄꤷ¤¿¥¥ã¥é¤òÄÉÀפ¹¤ë¤¿¤á¤Ë°ÌÃÖ¤¬Êѹ¹¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¡¡Game ¥Ó¥å¡¼¤ËÀÖ¤¤ÈϰϤ¬¹¤¤¤È¡¢¥«¥á¥é¤¬¥×¥ì¥¤¥ä¡¼¤òÄɽ¾¤¹¤ë¤Þ¤Ç¤ÎÈϰϤ¬¹¤¯¤Ê¤ê¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢¥²¡¼¥à¤ò¼Â¹Ô¤·¡¢¥«¥á¥é¤¬¥×¥ì¥¤¥ä¡¼¤òÄɤ¤¤«¤±¤Æ¤¯¤ë¤Þ¤Ç¤Î»þ´Ö¤¬Ä¹¤«¤Ã¤¿¤ê¡¢
¥²¡¼¥à²èÌ̤ΤϤº¤ì¤ÎÊý¤Þ¤Ç¤¤¤«¤Ê¤¤¤ÈÄɽ¾¤ò»Ï¤á¤Ê¤«¤Ã¤¿¤ê¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÈϰϤò¶¹¤¯¤¹¤ë¤³¤È¤ÇÂбþ¤¬½ÐÍè¤Þ¤¹¡£
¡¡¤³¤ÎÀßÄê¤Ï Game ¥Ó¥å¡¼Æâ¤ÎÈϰϤò¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤¹¤ë¤³¤È¤ÇǤ°Õ¤ÎÉý¤ËÄ´À°¤Ç¤¤Þ¤¹¤Î¤Ç¡¢
¥²¡¼¥à¤ò¼Â¹Ô¤·¤Ê¤¬¤é¡¢¼«Ê¬¤Î¹Í¤¨¤Æ¤¤¤ëÍýÁÛŪ¤Ê¥«¥á¥é¤ÎÄɽ¾ÈϰϤˤʤë¤è¤¦¤Ë¥Ç¥Ð¥Ã¥°¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£
¡¡
¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¾å¤Ç¤Ï¡¢Body Æâ¤Î Soft Zone Width ¤È Soft Zone Heignt ¤ÎÃͤÇÀ©¸æ¤â¤Ç¤¤Þ¤¹¡£
¡¡¤Þ¤¿¡¢Cinemachine ¤Î¥«¥á¥é¤Î¾å²¼º¸±¦¤Î°ÌÃ֤ϡ¢CinemachineVirtualCamera ¥³¥ó¥Ý¡¼¥Í¥ó¥ÈÆâ¤Î''Tracked Traget Offset ¤ÎÃͤǤϤʤ¯¡¢
ScreenY ¤È ScreenX ¤ÎÃͤÇÄ´À°''¤·¤Æ¤¯¤À¤µ¤¤¡£
¥ª¥Õ¥»¥Ã¥È¤ËÃͤòÀßÄꤹ¤ë¤È²óž»þ¤Ë¥«¥á¥é¤¬ÁÛÄꤷ¤Æ¤¤¤ëµóÆ°¤ò¹Ô¤ï¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
¡¡Äɽ¾ÂоݤȤε÷Î¥(Z¼´Êý¸þ)¤Ë¤Ä¤¤¤Æ¤Ï¡¢Camera Distance ¤ÎÃͤÇÄ´À°¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡²¼µ¤Î²èÁü¤Ï»²¹ÍÎã¤Ç¤¹¡£¤³¤ÎÄ̤ê¤Ç¤¢¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
¡ãÀßÄêÎã(³Æ¹àÌܤÎÃͤϡ¢Ç¤°Õ¤ÎÃͤËÄ´À°¤·¤Æ¤¯¤À¤µ¤¤)¡ä
¡ãGame ¥Ó¥å¡¼²èÁü¡ä
¡¡½àÈ÷¤¬¤Ç¤¤Þ¤·¤¿¤Î¤Ç¡¢¥²¡¼¥à¤ò¼Â¹Ô¤·¡¢²èÌ̤ÎÃæ±û¤Ë¥¥ã¥é¤¬¤¤¤ë¾õÂ֤ǥ«¥á¥é¤¬°ì½ï¤ËÄɽ¾¤·¤Æ°ÜÆ°¤¹¤ë¤«³Îǧ¤·¤Þ¤¹¡£
¸¡¾ÚÆ°²è¡¡¥¥ã¥é¤Î°ÜÆ°¤Ë¹ç¤ï¤»¤Æ¥«¥á¥é¤¬°ÜÆ°¤¹¤ë(Virtual Camera ¤È MainCamera ¤ÎξÊý¤Î Transform ¤ÎÃͤ¬¹¹¿·¤µ¤ì¤Þ¤¹)
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¡¡¤³¤ì¤Ç¤Î Virtual Camera ¤Î´ðËÜŪ¤ÊÀßÄê¤Ï´°Î»¤Ç¤¹¡£
¡¡°Ê¾å¤Ç¤³¤Î¼ê½ç¤Ï½ªÎ»¤Ç¤¹¡£
¡¡=>¡¡¼¡¤Ï¡¡¼ê½ç£·¡¡¡¼¥«¥á¥é¤ÎÀµÌÌÊý¸þ¤ò´ð½à¤È¤·¤¿¡¢¥×¥ì¥¤¥ä¡¼¤Î°ÜÆ°µ¡Ç½¤Î¼ÂÁõ¡¼¡¡¤Ç¤¹¡£
- ¥«¥Æ¥´¥ê¡§
- ¿Ê³Ø/¥¹¥¯¡¼¥ë
- ¥×¥í¥°¥é¥ß¥ó¥°
¥³¥á¥ó¥È¤ò¤«¤¯