ã¯ããã«
çŽ1幎åãOculusã¯ç§ã®ç 究ãåŸæŽããææ¡ãããŠããŸããã åºæ¬çã«ã圌ãã¯æ¬¡ã®ããã«è¿°ã¹ãŸããããããã«ã¡ã¯GlennãVRã®ãããã¯ãŒã¯åãããç©çåŠã«ã¯å€ãã®é¢å¿ããããGDCã§çŽ æŽãããè¬æŒãããŸããã éçºè ã«èŠããããšãã§ããVRã®ãããã¯ãŒã¯ç©çåŠã®ã¢ãã«ãæºåã§ãããšæããŸããïŒ ããããã¿ããã³ã³ãããŒã©ãŒã䜿çšã§ããŸããïŒã
ç§ã¯ã
Oculusã®ã¡ã³ããŒã¯åæããŸããã ãããŠãã®èšäºïŒ ãããã¯ãŒã¯ç©çåŠã®äŸã®ãœãŒã¹ã³ãŒãã¯ã ããããå ¥æã§ããŸã ã ç§ãæžããã³ãŒãã¯ãBSDã©ã€ã»ã³ã¹ã®äžã§ãªãªãŒã¹ãããŠããŸãã 次äžä»£ã®ããã°ã©ããŒããããã¯ãŒã¯ç©çåŠã«é¢ããç§ã®ç 究ããäœããåŠã³ãæ¬åœã«çŽ æŽããããã®ãäœæã§ããããšãé¡ã£ãŠããŸãã é 匵ã£ãŠ
äœãæ§ç¯ããŸããïŒ
ç§ãæåã«Oculusãšãããžã§ã¯ãã«ã€ããŠè©±ãåãå§ãããšããããŒãã«ã®ãããªãã®ãäœæããããšãæ³åããŸããã4人ã®ãã¬ãŒã€ãŒã座ã£ãŠãããŒãã«ã®äžã«ããç©ççã«ã·ãã¥ã¬ãŒãããããã¥ãŒããšå¯Ÿè©±ã§ããŸãã ããšãã°ãæããããå¡ãæãŸããŠæ§ç¯ããããæãæ¯ã£ãŠäºãã®å¡ãç Žå£ãããããŸãã
ããããUnityãšCïŒãæ°æ¥éåŠç¿ããåŸãç§ã¯ã€ãã«Riftã®å éšã«è¡ãçããŸããã VRã§ã¯ãã¹ã±ãŒã«ãéåžžã«éèŠã§ãã ç«æ¹äœãå°ãããšãããã¹ãŠãç¹ã«é¢çœããããŸããã§ãããããã®ãµã€ãºãçŽ1ã¡ãŒãã«ã«ãªã£ããšããçŽ æŽãããã¹ã±ãŒã«æããããŸããã ãã¬ã€ã€ãŒã¯ãé«ã20ã30ã¡ãŒãã«ã®ãã¥ãŒããã巚倧ãªã¿ã¯ãŒãäœæã§ããŸããã æ°æã¡ã¯æé«ã§ããïŒ
VRã§ãã¹ãŠãã©ã®ããã«èŠããããèŠèŠçã«äŒããããšã¯äžå¯èœã§ããã次ã®ããã«ãªããŸãã
ããã§ã¯ãã¿ããã³ã³ãããŒã©ãŒã䜿çšããŠãã¥ãŒããéžæããã©ãã°ã¢ã³ãããããã§ããŸãã ãã¬ãŒã€ãŒãèªåã®æãããªãªãŒã¹ãããã¹ãŠã®ãã¥ãŒãã¯ãä»ã®ã·ãã¥ã¬ãŒã·ã§ã³ãã¥ãŒããšå¯Ÿè©±ããŸãã ç«æ¹äœãç«æ¹äœã®å¡ã«æãå ¥ããŠå£ãããšãã§ããŸãã åæã«ãã¥ãŒããåãããããããžã£ã°ãªã³ã°ããããšãã§ããŸãã ãã¥ãŒãããã¿ã¯ãŒãæ§ç¯ããŠãç²åŸã§ããé«ãã確èªã§ããŸãã
ããã¯ãã¹ãŠéåžžã«èå³æ·±ããã®ã§ããããã¹ãŠãããã»ã©ã¯ã©ãŠãã¬ã¹ã§ã¯ãããŸããã Oculusãã¯ã©ã€ã¢ã³ããšããŠäœ¿çšããŠäœæ¥ãéå§ããåã«ãã¿ã¹ã¯ãšå¿ èŠãªçµæãå€æããå¿ èŠããããŸããã
æåã®è©äŸ¡ãšããŠæ¬¡ã®åºæºãææ¡ããŸããã
- ãã¬ã€ã€ãŒã¯ãµã€ã³ããé æ»ãªãæŸãäžãã転ãããŠæãŸããå¿ èŠããããŸãã
- ãã¬ã€ã€ãŒã¯ã¿ã¯ãŒã«ãã¥ãŒããç©ã¿éããããšãã§ããªããã°ãªããããããã®ã¿ã¯ãŒã¯ç®ç«ã£ãéããªãã§å®å®ããŸãïŒäŒæ¯ããããã«ãªããŸãïŒã
- ãã¬ã€ã€ãŒã®ããããã«ãã£ãŠæŸæ£ãããå Žåãã·ãã¥ã¬ãŒã·ã§ã³ãšå¯Ÿè©±ããå Žåããã®ãããªå¯Ÿè©±ã¯é æ»ãªãçºçããã¯ãã§ãã
åæã«ãæãæ·±å»ãªãã®ããæå°ã®ãã®ãŸã§é çªã«äžé£ã®ã¿ã¹ã¯ãäœæããŸããã ããã¯ç 究è«æã§ãããããç§ãã¡ãããããšããŠããããšã«æåãããšããä¿èšŒã¯ãããŸããã§ããã
ãããã¯ãŒã¯ã¢ãã«
ãŸãããããã¯ãŒã¯ã¢ãã«ãéžæããå¿ èŠããããŸããã æ¬è³ªçã«ããããã¯ãŒã¯ã¢ãã«ã¯ãé 延ãã©ã®çšåºŠæ£ç¢ºã«é ããã·ãã¥ã¬ãŒã·ã§ã³ã®åæãç¶æããããšããæŠç¥ã§ãã
3ã€ã®äž»èŠãªãããã¯ãŒã¯ã¢ãã«ã®ãããããéžæã§ããŸãã
- 決å®çãªããã¯ã¹ããã
- ã¯ã©ã€ã¢ã³ãåŽäºæž¬ãåããã¯ã©ã€ã¢ã³ããµãŒããŒ
- æš©éã¹ããŒã ã䜿çšããåæ£ã·ãã¥ã¬ãŒã·ã§ã³
ãããã¯ãŒã¯ã¢ãã«ã®æ£ããéžæã¯ããã«ç¢ºä¿¡ããŸãããããã¯ããã¬ã€ã€ãŒã察話ãããã¥ãŒãã«å¯Ÿããæš©éãç²åŸããåæ£ã·ãã¥ã¬ãŒã·ã§ã³ã¢ãã«ã§ãã ããããç§ã¯ããªããšç§ã®æšè«ãå ±æããå¿ èŠããããŸãã
ãŸããUnityç©çãšã³ãžã³ïŒPhysXïŒã¯æ±ºå®è«çã§ã¯ãªãããã決å®è«çããã¯ã¹ãããã¢ãã«ãç°¡åã«é€å€ã§ããŸãã ããã«ãPhysXã決å®è«çã§ãã£ããšããŠãããã¬ã€ã€ãŒã®ã·ãã¥ã¬ãŒã·ã§ã³ãšã®ããåããé 延ãããå¿ èŠããªãããããã®ã¢ãã«ãé€å€ã§ããŸãã
ãã®çç±ã¯ã確å®çããã¯ã¹ãããã¢ãã«ã®é 延ãé ãããã«ãã·ãã¥ã¬ãŒã·ã§ã³ã®2ã€ã®ã³ããŒãä¿åããã¬ã³ããªã³ã°ã®åã«ããŒã«ã«å ¥åïŒGGPOã¹ã¿ã€ã«ïŒã§åŒ·åãããã·ãã¥ã¬ãŒã·ã§ã³ãäºæž¬ããå¿ èŠãããããã§ãã ã·ãã¥ã¬ãŒã·ã§ã³åšæ³¢æ°ã90 Hzã§ãé 延ãæ倧250 msã®å Žåãããã¯èŠèŠã¬ã³ããªã³ã°ã®åãã¬ãŒã ã«25ã®ç©çã·ãã¥ã¬ãŒã·ã§ã³ã¹ããããå¿ èŠã§ããããšãæå³ããŸãã 25Xã®ã³ã¹ãã¯ãCPU䜿çšçãé«ãç©çã·ãã¥ã¬ãŒã·ã§ã³ã§ã¯åçŽã«éçŸå®çã§ãã
ãã®ããã2ã€ã®ãªãã·ã§ã³ãæ®ã£ãŠããŸãããã¯ã©ã€ã¢ã³ãåŽã®äºæž¬ãåããã¯ã©ã€ã¢ã³ããµãŒããŒãããã¯ãŒã¯ã¢ãã«ïŒå°çšãµãŒããŒã®å ŽåããããŸãïŒãšãå®å šæ§ã®äœãåæ£ã·ãã¥ã¬ãŒã·ã§ã³ãããã¯ãŒã¯ã¢ãã«ã§ãã
ãµã³ãã«ã¯ç«¶åçã§ã¯ãªããããå°çšãµãŒããŒããµããŒãããã³ã¹ããè¿œå ããããšãæ¯æããè°è«ã¯ã»ãšãã©ãããŸããã§ããã ãããã£ãŠãå®è£ ãã2ã€ã®ã¢ãã«ã®ã©ã¡ãã«é¢ä¿ãªããã»ãã¥ãªãã£ã¯æ¬è³ªçã«åãã§ããã å¯äžã®éãã¯ãã²ãŒã å ã®ãã¬ã€ã€ãŒã®1人ãçè«çã«äžæ£è¡çºãè¡ã£ãå ŽåããŸãã¯ãã¹ãŠã®ãã¬ãŒã€ãŒãäžæ£è¡çºãè¡ã£ãå Žåã«ã®ã¿è¡šç€ºãããŸãã
ãã®ãããåæ£ã·ãã¥ã¬ãŒã·ã§ã³ã¢ãã«ãããè«ççãªéžæè¢ã§ããã å®éãåãã¬ãã«ã®ã»ãã¥ãªãã£ãæäŸããŸãããããã¬ã€ã€ãŒã¯å¯Ÿè©±ãããã¥ãŒãã管çãããããã®ãã¥ãŒãã®ç¶æ ãä»ã®ãã¬ã€ã€ãŒã«éä¿¡ããæš©éãååŸããã ããªã®ã§ãã³ã¹ãã®ãããããŒã«ããã¯ãåã·ãã¥ã¬ãŒã·ã§ã³ã¯å¿ èŠãããŸããã§ããã
èªå¯ã¹ããŒã
察話ãããªããžã§ã¯ãã®ïŒãµãŒããŒãšããŠåäœããïŒã¢ã¯ã»ã¹èš±å¯ãååŸãããšãé 延ãé ãããå¯èœæ§ãããããšã¯çŽæçã«æããã§ãããµãŒããŒã§ãããããé 延ã¯ãããŸãããïŒ ãã ãããã®å Žåã®ç«¶åã®è§£æ±ºæ¹æ³ã¯æ確ã§ã¯ãããŸããã
2人ã®ãã¬ã€ã€ãŒãåãã¿ã¯ãŒãšå¯Ÿè©±ããå Žåã¯ã©ããªããŸããïŒ é 延ã®ããã«2人ã®ãã¬ã€ã€ãŒãåããã¥ãŒããã€ããå Žåã¯ïŒ çŽäºãçºçããå Žåã誰ãåã¡ã誰ã®æ¡ä»¶ã調æŽãããã©ã®ããã«ãã®ãããªæ±ºå®ãäžãã®ãïŒ
ãã®æ®µéã§ãç§ã®çŽæçãªèãã¯æ¬¡ã®ãšããã§ããïŒãªããžã§ã¯ãã®ç¶æ ãéåžžã«è¿ éã«ïŒ1ç§ããã60åãŸã§ïŒäº€æãããããã€ãã³ããšããŠã§ã¯ãªãããããã¯ãŒã¯ãããã³ã«ãä»ããŠãã¬ãŒã€ãŒéã§éä¿¡ãããç¶æ ã§ãšã³ã³ãŒããšããŠãããå®è£ ããã®ãæåã§ãã
ç§ã¯ãã°ããããã«ã€ããŠèãã2ã€ã®åºæ¬çãªæŠå¿µã«å°éããŸããïŒ
- ã¯ã¬ãã³ã·ã£ã«
- ææ
åãã¥ãŒãã«ã¯ãããã©ã«ãå€ïŒçœãè²ïŒãŸãã¯æåŸã«å¯Ÿè©±ãããã¬ãŒã€ãŒã®è²ã®ãããããæã€ã¢ã¯ã»ã¹èš±å¯ããããŸãã å¥ã®ãã¬ã€ã€ãŒããªããžã§ã¯ããšå¯Ÿè©±ããå Žåããã¯ãŒãå€æŽããããã®ãã¬ã€ã€ãŒã«æž¡ãããŸãã ã·ãŒã³ã§ã¹ããŒããããªããžã§ã¯ãã®çžäºäœçšã«ãã¯ãŒã䜿çšããããšãèšç»ããŸããã ãã¬ãŒã€ãŒ2ã«ãã£ãŠã¹ããŒããããã¥ãŒãã¯ã圌ãçžäºäœçšãããã¹ãŠã®ãªããžã§ã¯ããããã³ããããçžäºäœçšãããã¹ãŠã®ãªããžã§ã¯ãã«å¯ŸããŠååž°çã«æš©éãååŸã§ãããšæ³åããŸããã
ããã¥ã¢ã®ååã¯ãããã«ç°ãªããŸãã ãããã¬ã€ã€ãŒããã¥ãŒããææããŠããå Žåãæåã®ãã¬ã€ã€ãŒãææãæŸæ£ãããŸã§ãä»ã®ãã¬ã€ã€ãŒã¯ãã®ãã¥ãŒããææã§ããŸããã ãã¬ã€ã€ãŒãä»ã®ãã¬ã€ã€ãŒã®æãããã¥ãŒããã€ããããšãæãŸãªãã®ã§ããã¥ãŒããéžã¶ãã¬ã€ã€ãŒã«æææš©ã䜿çšããããšãèšç»ããŸããã
æš©éãšæææš©ãç¶æ ãšããŠè¡šçŸãã転éã§ããããšãçŽæçã«ç解ããŸãããåãã¥ãŒãã2ã€ã®ç°ãªãé£ç¶ããçªå·ã転éãããšãã«è¿œå ãããŸãïŒåºæ°ã®æš©åãšåºæ°ã®æææš©ã ãã®çµæããã®çŽæçãªç解ã¯ãã®å ¬å¹³æ§ã蚌æããŸããããç§ãäºæ³ãããããå®çŸããã®ãã¯ããã«å°é£ã§ããããšãå€æããŸããã ããã«ã€ããŠã¯ã以äžã§è©³ãã説æããŸãã
ç¶æ ã®åæ
äžèšã®èš±å¯ã«ãŒã«ãå®è£ ã§ãããšä¿¡ããŠãæåã®ã¿ã¹ã¯ã¯ãUnityãšPhysXã䜿çšããŠããããŒã®äžæ¹åã§ç©çãåæããå¯èœæ§ã蚌æããããšã§ãããšå€æããŸããã 以åã®ä»äºã§ã¯ãODEã䜿çšããŠãããã¯ãŒã¯ã·ãã¥ã¬ãŒã·ã§ã³ãäœæããããããããå¯èœãã©ããå šãåãããŸããã§ããã
調ã¹ãããã«ãUnityã§ã«ãŒãããã¯ã·ãŒã³ãäœæããŸããããã®ã·ãŒã³ã§ã¯ããã¥ãŒãããã¬ãŒã€ãŒã®åã«èœã¡ãŸããã ãã¥ãŒãã¯2ã»ãããããŸããã å·ŠåŽã®ç«æ¹äœã¯ãæš©åšã®åŽãè¡šããŠããŸãã å³åŽã®ãã¥ãŒãã¯ãå·ŠåŽã®ãã¥ãŒããšåæãããéèªèšŒåŽã瀺ããŠããŸãã
ãã¥ãŒãã®äž¡æ¹ã®ã»ãããåãåæç¶æ ããéå§ããããšããŠãããã¥ãŒããåæããããã«äœãå®è¡ãããŠããªãã£ãåœåãæçµçµæã¯ãããã«ç°ãªã£ãŠããŸããã ããã¯ãããããã¥ãŒã§æãç°¡åã«ç¢ºèªã§ããŸãã
ããã¯ãPhysXã決å®è«çã§ã¯ãªãããã«çºçããŸããã é決å®è«çãªé¢šè»ãšæŠã代ããã«ãå·ŠåŽããïŒæš©éããïŒç¶æ ãååŸãããããå³åŽïŒæš©éãªãïŒã«1ç§éã«10åé©çšããããšã«ãããé決å®æ§ãæã¡è² ãããŸãã ã
åãã¥ãŒãããååŸãããç¶æ ã¯æ¬¡ã®ããã«ãªããŸãã
struct CubeState { Vector3 position; Quaternion rotation; Vector3 linear_velocity; Vector3 angular_velocity; };
ãããŠããã®ç¶æ ãå³åŽã®ã·ãã¥ã¬ãŒã·ã§ã³ã«é©çšããŸããåãã¥ãŒãã®äœçœ®ãå転ãç·åœ¢ãè§é床ãå·ŠåŽããååŸããç¶æ ã«ã¹ãããããŸãã
ãã®ç°¡åãªå€æŽã¯ãå·Šå³ã®ã·ãã¥ã¬ãŒã·ã§ã³ãåæããã®ã«ååã§ãã 1/10ç§ã®éã«ãPhysXã«ã¯ãç®ç«ã£ãå€åã瀺ãããã«æŽæ°éã§éžè±ããååãªæéããããŸããã
ããã¯ããã«ããã¬ã€ã€ãŒã®ã¹ããŒããã«åæã¢ãããŒããPhysXã§æ©èœããããšã蚌æããŠããŸãã ïŒå®reliefã®ããæ¯ïŒ ã ãã¡ãããå¯äžã®åé¡ã¯ãå§çž®ãããŠããªãç©ççãªç¶æ ãéä¿¡ãããšããã£ãã«ãå æããããããšã§ã...
垯åå¹ ã®æé©å
ã€ã³ã¿ãŒãããäžã®ãããã¯ãŒã¯ç©çåŠã®ãµã³ãã«ã®åçå¯èœæ§ã確ä¿ããããã«ã垯åå¹ ãå¶åŸ¡ããå¿ èŠããããŸããã
ç§ãèŠã€ããæãç°¡åãªæ¹åæ¹æ³ã¯ãåã«äŒæ¢ç¶æ ã®ãã¥ãŒããããå¹ççã«ãšã³ã³ãŒãããããšã§ããã ããšãã°ãéæ¢ããç«æ¹äœã®ç·åœ¢é床ãšïŒ0,0,0ïŒã®è§é床ãåžžã«ïŒ0,0,0ïŒç¹°ãè¿ãã®ã§ã¯ãªãã1ãããã®ã¿ãéä¿¡ããŸãã
[position] (vector3) [rotation] (quaternion) [at rest] (bool) <if not at rest> { [linear_velocity] (vector3) [angular_velocity] (vector3) }
ããã¯ããããã¯ãŒã¯ãä»ããŠéä¿¡ãããç¶æ ããŸã£ããå€æŽããªãããã ãã¹ã¬ã¹éä¿¡æ¹åŒã§ãã ããã«ãã»ãšãã©ã®ãã¥ãŒããçµ±èšçã«ã»ãšãã©ã®å Žåéæ¢ããŠãããããéåžžã«å¹æçã§ãã
垯åå¹ ãããã«æé©åããã«ã¯ã æ倱ã®ããäŒéæè¡ã䜿çšããå¿ èŠããããŸãã ããšãã°ããããã¯ãŒã¯ãä»ããŠéä¿¡ãããç©çç¶æ ã®ç²ŸåºŠãäœäžãããã«ã¯ãæå°æ倧å€ã®ç¹å®ã®ç¯å²å ã®äœçœ®ãå¶éãã1/1000ã»ã³ãã¡ãŒãã«ã®è§£å床ã«é¢æ£åããŠããããã®é¢æ£åãããäœçœ®ãæ¢ç¥ã®ééã§æŽæ°å€ãšããŠéä¿¡ããŸãã åãåçŽãªã¢ãããŒããçŽç·é床ãšè§é床ã«äœ¿çšã§ããŸãã å転ãããã«ã¯ã 3ã€ã®æå°ã®åå æ°æåã®ééçã䜿çšããŸããã
ãã ããããã«ãããã£ãã«ã®è² è·ã¯è»œæžãããŸãããåæã«ãªã¹ã¯ã¯å¢å€§ããŸãã ãããã¯ãŒã¯äžã§ãã¥ãŒãã®å¡ïŒããšãã°ã10ã20åã®ãã¥ãŒããç©ã¿éãããã®ïŒãéä¿¡ãããšããµã³ããªã³ã°ã«ãã£ãŠå¡ãæºãããšã©ãŒãçºçããå¯èœæ§ããããŸããã ããããã¿ã¯ãŒã®äžå®å®æ§ã«ã€ãªããå¯èœæ§ããããŸãããç¹ã«é¢åã§ãããã°ãå°é£ãªæ¹æ³ãã€ãŸãã¿ã¯ãŒãæ£åžžã«èŠããä»ã®ãã¬ã€ã€ãŒãèŠãŠãããšãã«ãªã¢ãŒãã§èŠãå ŽåïŒæš©éãªãã§ã·ãã¥ã¬ãŒãããå ŽåïŒã®ã¿äžå®å®ã§ãããªãã¯äœãããŸããã
ç§ããã®åé¡ãèŠã€ããæè¯ã®è§£æ±ºçã¯äž¡åŽã®ç¶æ ãé¢æ£åããããšã§ããã ã€ãŸããã·ãã¥ã¬ãŒã·ã§ã³ã®åã¹ãããã®åã«ããããã¯ãŒã¯ãä»ããŠéä¿¡ããå Žåãšåãæ¹æ³ã§ç©çç¶æ ãã€ã³ã¿ãŒã»ããããã³é¢æ£åãããã®åŸããã®é¢æ£ç¶æ ãããŒã«ã«ã·ãã¥ã¬ãŒã·ã§ã³ã«é©çšããŸãã
次ã«ãéèªèšŒåŽã§ã®é¢æ£åç¶æ ããã®å€æ¿ã¯ãã·ãã¥ã¬ãŒã·ã§ã³ãåœå±ãšæ£ç¢ºã«äžèŽãããé«ãå¡ã®éããæå°éã«æããŸãã å°ãªããšãçè«çã«ã¯ã
äŒæ¯ãã
ããããç©ççç¶æ ã®é¢æ£åã«ããã éåžžã«èå³æ·±ãå¯äœçšãçºçããŸããïŒ
- PhysXãšã³ãžã³ã¯ãåãã¬ãŒã ã®éå§æã«åãœãªããã®ç¶æ ã匷å¶çã«å€æŽããããšãäœåãªããããCPUãªãœãŒã¹ã®ã»ãšãã©ãæ¶è²»ããŠããããšãç¥ãããŠãããŸãã
- é¢æ£åã¯ãPhysXãé åºã«æé€ããããšãããšã©ãŒãå³åº§ã«ããããŠå€§å¹ ã«é£èºãããŠããäºãã®äŸµå ¥ç¶æ ãããã¥ãŒããåé€ãããšã©ãŒãè¿œå ããŸãïŒ
- ãŸããã¿ãŒã³ãæ£ç¢ºã«æ³åããããšã¯äžå¯èœã§ããããã¯ããã¥ãŒãã®çžäºäŸµå ¥ã«ãã€ãªãããŸãã èå³æ·±ãããšã«ããã®å Žåããã¥ãŒãã¯ãã£ãŒãããã¯ã«ãŒãã«ãšã©ãŸããåºã®äžãæ»ãå§ããŸãã
- 倧ããªå¡ã®ç«æ¹äœã¯éæ¢ããŠããããã«èŠããŸãããç«æ¹äœã¯è¡šé¢äžã§ãããã«é¢æ£åãããŠèœäžããããããšãã£ã¿ãŒã§ã®æ éãªç 究ã«ãããå®éã«ã¯å°ããªå€ã§å€åããŠããããšãããããŸãã
CPUãªãœãŒã¹ãæ¶è²»ããPhysXãšã³ãžã³ã®åé¡ã解決ããããšã¯ã»ãšãã©ã§ããŸããã§ãããããªããžã§ã¯ãã®çžäºäŸµå ¥ããæãåºãããã®è§£æ±ºçãèŠã€ããŸããã åãœãªããã«maxDepenetrationVelocityãèšå®ãããã¥ãŒããåçºã§ããé床ãå¶éããŸãã æ¯ç§1ã¡ãŒãã«ã®é床ã§ååã§ããããšãå€æããŸããã
ãã¥ãŒããäŒããããšã¯ã¯ããã«å°é£ã§ããã ç§ãèŠã€ãã解決çã¯ãPhysXãšã³ãžã³èªäœã®éæ¢ç¶æ ã®èšç®ãå®å šã«ç¡å¹ã«ããããããåãã¥ãŒãã®äœçœ®ãšå転ã®åŸªç°ãããã¡ãŒã«çœ®ãæããããšã§ãã ãã¥ãŒããæåŸã®16ãã¬ãŒã ã®éã«ç§»åãããææãªå€ã ãå転ããªãã£ãå Žåã匷å¶çã«åæ¢ãããŸãã ããŒã ïŒ ãã®çµæãå®å šã«å®å®ãããµã³ããªã³ã°ã¿ã¯ãŒãåŸãããŸããã
ããã¯ããã¯ã®ããã«èããããããããŸããããPhysXãœãŒã¹ã³ãŒãã«ã¢ã¯ã»ã¹ããæ¹æ³ããªããPhysXãœã«ããŒãæžãæããŠæ®ãã®ç¶æ ãèšç®ããè³æ Œããªããããä»ã®ãªãã·ã§ã³ã¯ãããŸããã§ããã èªåãééã£ãŠãããšæã£ãã幞ãã«ãªããŸãã®ã§ãããè¯ãæ¹æ³ãèŠã€ããããšãã§ããããæããŠãã ãã
åªå ã¢ãã¥ã ã¬ãŒã¿ãŒ
å¥ã®æ·±å»ãªåž¯åå¹ ã®æé©åã¯ãåãã±ããå ã®ãã¥ãŒãã®ãµãã»ããã®ã¿ã®è»¢éã§ããã ããã«ããã転éãããããŒã¿ã®éãæ£ç¢ºã«å¶åŸ¡ã§ããŸããæ倧ãã±ãããµã€ãºãèšå®ããåããã±ãŒãžã«é©åããæŽæ°ã»ããã®ã¿ãéä¿¡ããããšãã§ããŸããã
å®éã®åäœã¯æ¬¡ã®ãšããã§ãã
- åãã¥ãŒãã«ã¯ãåãã¬ãŒã ã§èšç®ãããåªå 床ã¡ããªãã¯ããããŸãã å€ã倧ããã»ã©ãéä¿¡ã®ç¢ºçãé«ããªããŸãã è² ã®å€ã¯ã ããã®ãã¥ãŒããéä¿¡ããå¿ èŠããªããããšãæå³ããŸã ã
- åªå 床ã€ã³ãžã±ãŒã¿ãæ£ã®å Žåãåãã¥ãŒãã®åªå 床ã¢ãã¥ã ã¬ãŒã¿ã®å€ã«è¿œå ãããŸãã ãã®å€ã¯ãåãã¬ãŒã ã§åªå 床ã¢ãã¥ã ã¬ãŒã¿ãå¢å ããããã«ãã·ãã¥ã¬ãŒã·ã§ã³ã®æŽæ°éã§ä¿åãããŸããã€ãŸããåªå 床ã®é«ããã¥ãŒãã®å€ã¯ãåªå 床ã®äœããã¥ãŒãã®å€ãããéãæé·ããŸãã
- è² ã®åªå 床ã¡ããªãã¯ã¯ãåªå 床ã¢ãã¥ã ã¬ãŒã¿ã-1.0ã«ãªã»ããããŸãã
- ãã±ãããéä¿¡ããããšããã¥ãŒãã¯åªå 床ã®æãé«ãã¢ãã¥ã ã¬ãŒã¿ãŒããæãäœãã¢ãã¥ã ã¬ãŒã¿ãŒã®é ã«äžŠã¹ãããŸãã æåã®nåã®ãã¥ãŒãã¯ãããã±ãŒãžã«å«ãŸããå¯èœæ§ã®ãããã¥ãŒãã®ã»ããã«ãªããŸãã åªå é äœãè² ã®ã¢ãã¥ã ã¬ãŒã¿ãŒå€ãæã€ãªããžã§ã¯ãã¯ãªã¹ãããé€å€ãããŸãã
- ããã±ãŒãžãæžã蟌ãŸãããã¥ãŒãã¯éèŠåºŠã®é ã«ããã±ãŒãžã«ã·ãªã¢ã«åãããŸãã ããã±ãŒãžã¯ãå¿ ããããã¹ãŠã®ç¶æ ã®æŽæ°ã«é©åããŠããããã§ã¯ãããŸããããã¥ãŒãã®æŽæ°ã«ã¯ãçŸåšã®ç¶æ ïŒéæ¢æãéæ¢æãªã©ïŒã«äŸåããå€æ°ã®ãšã³ã³ãŒãã£ã³ã°ãããããã§ãã ãããã£ãŠãããã±ãŒãžãã·ãªã¢ã«åãããšããã¥ãŒããããã±ãŒãžã«å«ãŸããŠãããã©ãããå€æãããã©ã°ãåãã¥ãŒãã«è¿ãããŸãã
- ããã±ãŒãžã§è»¢éããããã¥ãŒãã®åªå é äœã¢ãã¥ã ã¬ãŒã¿ãŒã®å€ã¯0.0ã«ãªã»ãããããä»ã®ãã¥ãŒãã次ã®ããã±ãŒãžã«å«ãŸããæ£çŽãªæ©äŒãäžããŸãã
ãã®ãã¢ã§ã¯ãé«ãšãã«ã®ãŒè¡çªã«æè¿é¢äžãããã¥ãŒãã®åªå 床ãå€§å¹ ã«äžããããã®å€ãéžæããŸãããé決å®çãªçµæã®ãããé«ãšãã«ã®ãŒè¡çªã¯åå·®ã®æ倧ã®åå ã®1ã€ã§ãã ãŸããæè¿ãã¬ã€ã€ãŒãæãããã¥ãŒãã®åªå 床ãäžããŸããã
éæ¢ããŠãããã¥ãŒãã®åªå 床ãäžãããšçµæãæªããªãããšã¯ããŸã£ããçŽèŠ³ã«åããããšãå€æããŸããã ç§ã®çè«ã§ã¯ãã·ãã¥ã¬ãŒã·ã§ã³ã¯äž¡åŽã§å®è¡ããããããéæ¢ããŠãããã¥ãŒãã¯ãããã«åæããšãããç¶æ ãååã«éã調æŽã§ããããã¥ãŒãã«ééããä»ã®ãã¥ãŒãã®åå·®ã«ã€ãªãããŸãã
ãã«ã¿å§çž®
äžèšã®ãã¹ãŠã®æ¹æ³ã䜿çšããŠããããŒã¿è»¢éã¯ãŸã ååã«æé©åãããŠããŸããã 4人çšã®ã²ãŒã ã®å Žåããã¹ãããšã«ãã¹ãŠã®ã·ãã¥ã¬ãŒã·ã§ã³ã1 Mbit / sãã£ãã«ã«åãŸãããã«ããã¬ãŒã€ãŒãããã®ã³ã¹ãã256 kbit / sãããäœããããã£ãã®ã§ãã
ç§ã®æåŸã®ç§compression㯠ã ãã«ã¿å§çž®ã§ãã
ãã«ã¿å§çž®ã¯ãäžäººç§°ã·ã¥ãŒãã£ã³ã°ã²ãŒã ã§ãã䜿çšãããŸããäžçã®ãã¹ãŠã®ç¶æ ã¯ã以åã®ç¶æ ãšæ¯èŒããŠå§çž®ãããŸãã ãã®ææ³ã§ã¯ã以åã®å®å šãªç¶æ ïŒãã¹ãããã·ã§ãããïŒãåç §ãã€ã³ããšããŠäœ¿çšãããŸããã åç §ãã€ã³ããšçŸåšã®ã¹ãããã·ã§ããã®éã§äžé£ã®å·®åïŒ ãã«ã¿ ïŒãçæãããã¯ã©ã€ã¢ã³ãã«éä¿¡ãããŸãã
ãã¹ãŠã®ãªããžã§ã¯ãã®ç¶æ ãåã¹ãããã·ã§ããã«å«ãŸããŠããããããã®ææ³ã¯ïŒæ¯èŒçïŒå®è£ ãç°¡åã§ããã€ãŸãããµãŒããŒã¯ã¯ã©ã€ã¢ã³ããåä¿¡ããææ°ã®ã¹ãããã·ã§ããã远跡ãããã®ã¹ãããã·ã§ãããšçŸåšã®ã¹ãããã·ã§ããã®å·®åãçæããã ãã§ãã
ãã ããåªå ãã©ã€ãã䜿çšããå Žåãããã±ãŒãžã«ã¯ãã¹ãŠã®ãªããžã§ã¯ãã®æŽæ°ãå«ãŸããŠãããããã«ã¿ã³ãŒãã£ã³ã°ããã»ã¹ã¯ããè€éã«ãªããŸãã ããã§ããµãŒããŒïŒãŸãã¯æš©éãæã€é¢ä¿è ïŒã¯ã以åã®ã¹ãããã·ã§ããçªå·ã«é¢é£ãããã¥ãŒããåã«ãšã³ã³ãŒãã§ããªããªããŸããã 代ããã«ãåä¿¡è ãåãã¥ãŒããã©ã®ç¶æ ã§ãšã³ã³ãŒããããŠããããç¥ãããã«ã åãã¥ãŒãã«å¯ŸããŠåç §ãã€ã³ãã瀺ãå¿ èŠããããŸãã
ãµããŒãã·ã¹ãã ãšããŒã¿æ§é ããã¯ããã«è€éã«ãªããŸãã
- æåŸã«åä¿¡ããã¹ãããã·ã§ããã®æ°ã ãã§ãªããåä¿¡ãããã±ããããµãŒããŒã«éç¥ããä¿¡é Œæ§ã·ã¹ãã ãå¿ èŠã§ãã
- éä¿¡è ã¯ãéä¿¡ãããç¶æ ã«ãã±ãã確èªã¬ãã«ããã€ã³ãããåãã¥ãŒãã®ææ°ã®ç¢ºèªæžã¿ç¶æ ãæŽæ°ã§ããããã«ãéä¿¡ãããåãã±ããã«å«ãŸããç¶æ ã远跡ããå¿ èŠããããŸãã 次åãã¥ãŒããéä¿¡ããããšãããã®ãã«ã¿ã¯åºæºç¹ãšããŠãã®ç¶æ ã«é¢é£ããŠãšã³ã³ãŒããããŸãã
- åä¿¡è ã¯ãåãã¥ãŒãã®åä¿¡ç¶æ ã®ãªã³ã°ãããã¡ãä¿åããŠããã®ãªã³ã°ãããã¡ã®ã¢ã³ã«ãŒãã€ã³ããèŠãŠãã«ã¿ãããã¥ãŒãã®çŸåšã®ç¶æ ãåäœæã§ããããã«ããå¿ èŠããããŸãã
ããããæçµçã«ã¯ããã®ãããªã·ã¹ãã ã¯æè»æ§ãšå æ垯åå¹ ãåçã«èª¿æŽããèœåãšããã«ã¿ã³ãŒãã£ã³ã°ã«ããæ¡éãã®åž¯åå¹ ã®åäžãå ŒãåããŠãããããè€éããå¢ãããšèªäœãæ£åœåãããŸãã
ãã«ã¿ã³ãŒãã£ã³ã°
ããã§ãã¹ãŠã®ãµããŒãæ§é ãã§ããã®ã§ãã¢ã³ã«ãŒãã€ã³ãã®ä»¥åã®ç¶æ ã«å¯Ÿãããã¥ãŒãã®éãããšã³ã³ãŒãããå¿ èŠããããŸãã ãããè¡ãæ¹æ³ïŒ
ç¶æ ãåç §ãã€ã³ãã®å€ãšæ¯èŒããŠå€åããŠããªããã¥ãŒãããšã³ã³ãŒãããæãç°¡åãªæ¹æ³ã¯ãããã1ãããã§ãïŒ å€æŽã¯ãããŸãã ã ããã«ãããã¯ãã£ãã«ã®è² è·ã軜æžããæãç°¡åãªæ¹æ³ã§ããããã¯ãã»ãšãã©ã®ãã¥ãŒãããã€ã§ãéæ¢ããŠãããã€ãŸãç¶æ ãå€åããªãããã§ãã
ããæŽç·ŽãããæŠç¥ã¯ãå¯èœãªéãå°ãªããããã§å°ããªå€æŽããšã³ã³ãŒãããããšãç®çãšããŠãçŸåšã®å€ãšåç §å€ã®å·®ããšã³ã³ãŒãããããšã§ãã ããšãã°ãäœçœ®ãã«ã¿ã¯ãåºæºç¹ã«å¯ŸããŠïŒ-1ã+ 2ã+ 5ïŒã«ãªããŸãã æ倧ã®åå æ°æåã¯ã¢ã³ã«ãŒãã€ã³ããšçŸåšã®å転ãšã®éã§ç°ãªãããšãå€ããããããã¯ç·åœ¢å€ã§ã¯ããŸãæ©èœãããã3ã€ã®æå°åå æ°æåã®ãã«ã¿ã§ã¯ããŸãæ©èœããªãããšãããããŸããã
ããã«ãéããã³ãŒãã£ã³ã°ããããšã§ããã€ãã®å©ç¹ãåŸãããŸãããç§ãæ±ããŠããã»ã©ã®æ¹åã¯ãããŸããã ã¹ãããŒã«ããã¿ã€ããŠã äºæž¬ãè¿œå ãããã«ã¿ã³ãŒãã£ã³ã°æŠç¥ãæãã€ããŸããã ãã®ã¢ãããŒãã§ã¯ãéåã«ããå é床ã®åœ±é¿äžã§ç«æ¹äœã匟éçã«ç§»åãããšä»®å®ããŠãåºæºç¹ããçŸåšã®ç¶æ ãäºæž¬ããŸãã
æµ®åå°æ°ç¹èšç®ã§ã¯æ±ºå®è«ãä¿èšŒãããªããããäºæž¬ã³ãŒãã¯åºå®å°æ°ç¹ã§èšè¿°ããå¿ èŠããããããäºæž¬ã¯è€éã§ããã ããããæ°æ¥éã®å®éšã®åŸãäœçœ®ãç·åœ¢ãè§é床ã®åŒŸéäºæž¬åšãäœæããããšãã§ããŸãããããã¯ãçŽ90ïŒ ã®é¢æ£è§£å床ã§PhysXç©ååšã®çµæã«å¯Ÿå¿ããŠããŸããã
ãããã®ã©ãããŒãã¥ãŒãã¯ãã1ã€ã®ãããã§ãšã³ã³ãŒããããŠããŸãã çæ³çãªäºæž¬ã§ ãããã«ããæ¡éãã®æ¹åãèŠãããŸããã äºæž¬ãå®å šã«äžèŽããªãã£ãå Žåãäºæž¬ã«å¯ŸããŠå°ããªèª€å·®ãªãã»ããããšã³ã³ãŒãããŸããã
ç§ãè²»ããããã¹ãŠã®æéã®éãã¿ãŒã³ãäºæž¬ããè¯ãæ¹æ³ãèŠã€ããããšãã§ããŸããã§ããã ãã®åå ã¯ãç¹ã«åºå®å°æ°ç¹æ°ã§ã¯æ°å€çã«éåžžã«äžå®å®ãªåå æ°ã®3ã€ã®æå°æåã®è¡šçŸã«ãããšèããŠããŸãã å°æ¥çã«ã¯ãé¢æ£åãããã¿ãŒã³ã«3ã€ã®æå°ã³ã³ããŒãã³ãã®è¡šçŸã䜿çšããŸããã
ãŸããéããšãªãã»ãããã³ãŒãã£ã³ã°ãããšãããããããã«ãŒã䜿çšããããšããããã®å€ãèªã¿æžãããããã®æè¯ã®æ¹æ³ã§ã¯ãªãããšãçãã»ã©æçœã§ããã ã€ã³ã¿ãŒãã«ãšã³ã³ãŒããŒãç®è¡ã³ã³ãã¬ããµãŒã®ãããªãã®ã¯ãå°æ°ããããè¡šçŸããéãã«å¿ããŠã¢ãã«ãåçã«å€æŽã§ãããã¯ããã«åªããçµæãæäŸã§ãããšç¢ºä¿¡ããŠããŸããããã®æ®µéã§ã¯ããã§ã«èªåã®ãã£ã³ãã«ã®å¶éã«é©åããŠãããè¿œå ããããšãã§ããŸããå®éšã
ã¢ãã¿ãŒã®åæ
æ°ã¶æã®äœæ¥ã®åŸãç§ã¯æ¬¡ã®é²æ©ãéããŸããã
- UnityãšPhysXã§ç¶æ åæãæ©èœãããšãã蚌æ
- äž¡åŽã®ç¶æ ããµã³ããªã³ã°ããªããããªã¢ãŒã衚瀺ãå¯èœãªå®å®ãããã¥ãŒãã¿ã¯ãŒ
- å æãã£ãã«ã¯ã4人ã®ãã¬ãŒã€ãŒã1 Mbpsã«åãŸãã¬ãã«ãŸã§åæžãããŸãã
次ã«å®è£ ããå¿ èŠãããã®ã¯ãã¿ããã³ã³ãããŒã©ãŒãä»ããã·ãã¥ã¬ãŒã·ã§ã³ãšã®ããåãã§ãã ãã®éšåã¯éåžžã«èå³æ·±ãããããžã§ã¯ãã®ç§ã®ãæ°ã«å ¥ãã®æ®µéã«ãªããŸããã
ãããã®çžäºäœçšãã楜ãã¿ãã ããã ææãæããæããæãžã®ç§»åãªã©ã®ç°¡åãªã¢ã¯ã·ã§ã³ãæ£ããæããããããã«ãå€ãã®å®éšãšåŸ®èª¿æŽãè¡ãå¿ èŠããããŸããã é©åãªæforã®ããã®ã¯ã¬ã€ãžãŒãªèšå®ã§ãããçŽ æŽãããæ©èœããé«ãã¿ã¯ãŒãé«ã粟床ã§çµã¿ç«ãŠãããšãã§ããŸããã
ãããããããã¯ãŒã¯ãä»ããå ±æã«é¢ããŠã¯ããã®å Žåãã²ãŒã ã³ãŒãã¯éèŠã§ã¯ãããŸããã ãããã¯ãŒã¯ãä»ããéä¿¡ã§éèŠãªã®ã¯ãã¢ãã¿ãŒãé ãšäž¡æã§è¡šç€ºããã远跡æ©èœä»ãã®ããããŠããããšã¿ããã³ã³ãããŒã©ãŒã®äœçœ®ãšæ¹åã§å¶åŸ¡ãããããšã§ãã
ããããåæããããã«ã FixedUpdateã®ã¢ãã¿ãŒã³ã³ããŒãã³ãã®äœçœ®ãšåããä»ã®ç©çç¶æ ãšãšãã«ã€ã³ã¿ãŒã»ãããããã®ãã¥ãŒã¹ããŒãããªã¢ãŒããã¥ãŒããŒãã®ã¢ãã¿ãŒã³ã³ããŒãã³ãã«é©çšããŸããã
ãããããããåããŠå®çŸããããšãããšãããã¹ãŠãã²ã©ãèŠããŸããã ãªãã§ïŒ
ãããã°åŸãã¢ãã¿ãŒã®ç¶æ ãã¿ããæ©åšããUpdateã€ãã³ãã®ã¬ã³ããªã³ã°ã®ãã¬ãŒã ã¬ãŒãã§ãµã³ããªã³ã°ããããããFixedUpdateãä»ããŠä»ã®ãã·ã³ã§äœ¿çšãããŠããããšãããããŸãã ã
ãã®åé¡ã解決ããããã«ãã¢ãã¿ãŒã®ç¶æ ããµã³ããªã³ã°ããéã«ç©çãšã¬ã³ããªã³ã°æéã®éããç¶æããåããã±ãŒãžã«ããããã¢ãã¿ãŒã®ç¶æ ã«å«ããŸããã 次ã«ãçµæã®ãã±ããã«é 延100ããªç§ã®ãžãã¿ãŒãããã¡ãŒãè¿œå ããŸãããããã«ããããã±ããé ä¿¡ã®æéå·®ã«ãã£ãŠçãããããã¯ãŒã¯ãžãã¿ãŒãæé€ããé©åãªã¿ã€ãã³ã°ã§ãµã³ãã«ãåäœæããããã«ã¢ãã¿ãŒã¹ããŒãéã®è£éãä¿èšŒããŸããã
ãã¥ãŒããã¢ãã¿ãŒã®æã®åã§ãããšãã«ã¢ãã¿ãŒãä¿æãããã¥ãŒããåæãããããã«ããã¥ãŒãã®åªå 床ã€ã³ãžã±ãŒã¿ãŒã-1ã«èšå®ãããã®ç¶æ ãå®æçãªæŽæ°ã§ç©çç¶æ ã«éä¿¡ãããªãããã«ããŸããã ãã¥ãŒããæã«åãä»ãããããšãã¢ãã¿ãŒã®ç¶æ ãšããŠããã®èå¥åãçžå¯Ÿäœçœ®ãããã³å転ãè¿œå ããŸãã ãªã¢ãŒã衚瀺ã§ã¯ããã¥ãŒãã¯ã¢ãã¿ãŒã®æåã®ç¶æ ãåãåããšã¢ãã¿ãŒã®æã«åãä»ããããŸããã¢ãã¿ãŒã®æåã®ç¶æ ã§ã¯ããã¥ãŒãã¯åã®åã«ãªãããã¥ãŒãã®ã±ã€ãã³ã°ãŸãã¯ãªãªãŒã¹ã®ç¬éã«å¯Ÿå¿ããç©çç¶æ ã®å®æçãªæŽæ°ãåéããããšæããåãé¢ãããŸãã
åæ¹åã®æµã
ã¿ããã³ã³ãããŒã©ãŒã䜿çšããŠãã¬ãŒã€ãŒãšã·ãŒã³ã®çžäºäœçšãäœæããã®ã§ã2çªç®ã®ãã¬ãŒã€ãŒãã·ãŒã³ãšçžäºäœçšããæ¹æ³ã«ã€ããŠèãå§ããŸããã
2ã€ã®ãããããŠã³ãããã€ã¹ã®çã£ã絶ãéãªãå€æŽã«é¢äžããªãããã«ãUnityãã¹ãã·ãŒã³ãæ¡åŒµããæåïŒå·ŠïŒãš2çªç®ïŒå³ïŒã®ãã¬ã€ã€ãŒã®ã³ã³ããã¹ããåãæ¿ããæ©èœãè¿œå ããŸããã
æåã®ãã¬ãŒã€ãŒãããã¹ããã2çªç®ã®ãã¬ãŒã€ãŒããã²ã¹ãããšåŒã³ãŸããã ãã®ã¢ãã«ã§ã¯ããã¹ãã¯ãå®éã®ãã·ãã¥ã¬ãŒã·ã§ã³ã§ãããããã©ã«ãã§ã¯ã²ã¹ããã¬ãŒã€ãŒã®ãã¹ãŠã®ãã¥ãŒããåæããŸãããã²ã¹ããã¯ãŒã«ããšå¯Ÿè©±ãããšã察å¿ãããªããžã§ã¯ãã«å¯Ÿããæš©éãåãåãããã®ç¶æ ããã¹ããã¬ãŒã€ãŒã«è»¢éããŸãã
æãããªç«¶åãçºçãããã«ãããæ©èœããããã«ã¯ããã¹ããšã²ã¹ãã®äž¡æ¹ããæš©éãšæææš©ãååŸããåã«ãã¥ãŒãã®ããŒã«ã«ç¶æ ã確èªããå¿ èŠããããŸãã ããšãã°ããã¹ãã¯ãã²ã¹ããæ¢ã«ææããŠãããã¥ãŒãã®æææš©ãååŸããŸãããéãåæ§ã§ããåæã«ãæ¿èªãèš±å¯ãããŸããããã«ããããã¬ã€ã€ãŒã¯ãã¥ãŒããä»ã®äººã®å¡ã«æãå ¥ããä»ã®èª°ããæ§ç¯ããŠããéã«ããããå£ãããšãã§ããŸãã
ãããã¯ãŒã¯ç©çåŠãå®è£ ããããã«ç§ã®ã¢ãã«ã§ã·ã¹ãã ã4人ã®ãã¬ãŒã€ãŒã«äžè¬åãããšããã¹ãŠã®ãã±ããããã¹ããã¬ãŒã€ãŒãééãããããã¢ãŒãã¿ãŒã«ãªããŸããå®éãçã®ãã¢ããŒãã¢ããããžã䜿çšãã代ããã«ãã²ãŒã å ã®ãã¹ãŠã®ã²ã¹ãããã¹ããã¬ãŒã€ãŒãšã®ã¿ããŒã¿ã亀æããããããžãéžæãããŸããããã«ããããã¹ãã¯ãã©ã®æŽæ°ãåãå ¥ããã©ã®æŽæ°ãç¡èŠããããã«å¿ããŠèª¿æŽãããã決å®ã§ããŸãã
ãããã®ä¿®æ£ãé©çšããã«ã¯ããã¹ãã«ã²ã¹ããå¶åŸ¡ãããããããããã®ãã¥ãŒãã®æš©é/æææš©ããªãããã®æŽæ°ãæ¿èªããå¿ èŠããããŸãããšäŒããæ¹æ³ãå¿ èŠã§ããããŸãããã¹ããã²ã¹ããšäžçãšã®ããåãã®é åºã決å®ã§ããããã«ãã¯ã©ã€ã¢ã³ããé 延ãäžé£ã®é 延ãã±ããé ä¿¡ã®å¢å ãæããªãããã«ããæ¹æ³ãå¿ èŠã§ããããããã®ããã±ãŒãžã¯ãä»ã®ã²ã¹ãã®ãã®åŸã®ã¢ã¯ãã£ããã£ããã奜ãŸãããªãã¯ãã§ãã
åã®çŽæçãªäºæã®ããã«ãåãã¥ãŒãã«2ã€ã®åºæ°ã䜿çšããŠããããã¹ãŠå®è£ ããŸããã
- æš©éã®é åº
- æææš©ã®é åº
ãããã®åºæ°ã¯ç¶æ ãæŽæ°ããããã³ã«éä¿¡ããããã¥ãŒãããã¬ã€ã€ãŒã«ãã£ãŠä¿æããããšããããã¯ã¢ãã¿ãŒã®ç¶æ ã«å«ãŸããŸãããã¹ãã¯ãã¬ãŒã€ãŒããæŽæ°ãåä¿¡ãããã©ããã決å®ããããã«äœ¿çšãããã²ã¹ãããµãŒããŒããã®ã¹ããŒã¿ã¹æŽæ°ãæ°ãããã©ããããŸãã²ã¹ãããã¥ãŒãã«å¯Ÿããæš©éãæã£ãŠããããææããŠããå Žåã§ãé©çšããããã©ããã決å®ããããã«äœ¿çšãããŸããããã
ãã¬ã€ã€ãŒããã¥ãŒããä»ããŠãã¯ãŒãç²åŸãããã³ã«ããŸããã¬ã€ã€ãŒã«ãã¯ãŒãå±ãããã¥ãŒããäŒç ç¶æ ã«ãªããã³ã«ãéåžžã®ãã¯ãŒã®æ°ãå¢å ããŸããã²ã¹ããã·ã³ã«ãã¥ãŒãã«å¯Ÿããæš©éãããå Žåããã®ãã·ã³ã®æš©éã¯ããã¹ããã確èªãåãåããŸã§ä¿æãããŸãå ã®æš©éã«æ»ãåã«ãããã«ãããé倧ãªãã±ããæ倱ãçºçããå Žåã§ããã²ã¹ããææããäŒæ¢ç¶æ ã®ãã¥ãŒãã«å¯Ÿããæš©éãæçµçã«ãã¹ãã«è»¢éãããŸãã
ææè ã®åºæ°ã¯ããã¬ã€ã€ãŒããã¥ãŒããåããã³ã«å¢å ããŸããææã¯æš©åšãããã匷ããã®ã§ãä»»æã®åºæ°ã®å¢å ã¯æš©åšã®åºæ°ã®å¢å ã«åã¡ãŸããããšãã°ããããã¬ã€ã€ãŒããã¥ãŒããæäœããçŽåã«å¥ã®ãã¬ã€ã€ãŒããã¥ãŒããæäœãããšããã¥ãŒããååŸãããã¬ã€ã€ãŒãåã¡ãŸãã
ãã®ãã¢ã§ã®ç§ã®çµéšã«åºã¥ããŠããããã®ã«ãŒã«ã¯ç«¶åã解決ããã®ã«ååã§ãããšåæã«ããã¹ãããã³ã²ã¹ãã®äžçãšé 延ãªãçžäºäœçšããããšãçºèŠããŸãããå®éã«ã¯ãå€§å¹ ãªé 延ãçºçããå Žåã§ããä¿®æ£ããå¿ èŠã®ãã競åã¯ãŸãã§ãããããããçºçããå Žåãã·ãã¥ã¬ãŒã·ã§ã³ã«ãã£ãŠç«¶åã¯ããã«äžè²«ããç¶æ ã«ãªããŸãã
ãããã«
å ç¢ãªç«æ¹äœã¿ã¯ãŒãåããé«å質ã®ãããã¯ãŒã¯ç©çåŠã¯ãåæ£ã·ãã¥ã¬ãŒã·ã§ã³ã®ãããã¯ãŒã¯ããŒã¹ã®ã¢ãã«ã䜿çšããŠãUnityããã³PhysXã§å®è£ ã§ããŸãã
ãã®ã¢ãããŒãã¯ãå°çšãµãŒããŒãšã¯ã©ã€ã¢ã³ãåŽã®äºæž¬ãåããä¿¡é Œã§ãããµãŒããŒã®ãããã¯ãŒã¯ã¢ãã«ã®ã¬ãã«ã§ã»ãã¥ãªãã£ãæäŸããªããããå調ã²ãŒã ãã¬ã€ã«ã®ã¿äœ¿çšããã®ãæé©ã§ãã
ç§ã®ä»äºãšãã®ç 究ãè¡ãæ©äŒãæäŸããŠãããOculusã«æè¬ããŸãïŒ
ãããã¯ãŒã¯ç©çåŠã®ãµã³ãã«ã®ãœãŒã¹ã³ãŒãã¯ãããããããŠã³ããŒãã§ããŸãã