Oculusã§PS3ã³ã³ããã¼ã©ã®SIXAXISã¨æ¯åæ©è½ã使ãæ¹æ³
ãã®è¨äºã¯Oculus Rift Advent Calendar 2014ã®2æ¥ç®ã§ãã
â 1æ¥ç®ã®è¨äºãã®1
éçã®ç·ãããOculus Rift x LEAP Motion x JOBA x Wiiãªã¢ã³ã³ã§ãã©ã´ã³ã«ä¹ã£ã¦ã¿ãã
â 1æ¥ç®ã®è¨äºãã®2ï¼
@hiroyuki_honããããã¼ãã»ç¡è·ã®ããã®Oculus Riftãç¨ãã¦å°±è·ããæ¹æ³ã
â ä»æ¥ã®ããï¼ã¤ã®è¨äºï¼
@dvorakãããOculus Rift DK2åæä¸è¯ã¨æ¥ç¶ã®æ¦è¨ - éã®å¼¾ä¸¸ãã¯ããã¾ããã
â»ãã®ä»ã®è¨äºã¸ã¯ã«ã¬ã³ãã¼ã®ãªã³ã¯ããã©ãããOculusã¯ãããã«æ¬ã®æè¡ã ããã£ã¦Advent Calendarã2æ¬ç«ã£ã¦ã¾ããããã¼ã
Â
ããã«ã¡ã¯ãOculusRiftçéã§éã³åã£ã¦ãã ã¾ã£ã¤ãâSW1/SWF8ioï¼@n_mattunï¼ã§ããç´è¿ã§ã¯å ææ«ã®OculusGameJamã«ã¦å人ã®@faultierã¨ãã©ãããè»äººããã人ãä½ããã®åã«ããæããçãåºãã¦å ¨ã¦ãçããå°½ãããã²ã¼ã ãä½ã£ããããã¾ããã
Â
ãã¦ãä»åã¯ãã£ã¡ã§ã¯ãªãå¥ã®æä½åãOculusRiftãé§ä½¿ãããã±ãããã«ãä½é¨ã²ã¼ã ãé£ã¹ãã¨ï¼ã*1ã§ãPS3ã³ã³ããã¼ã©ãã©ããã£ã¦è¨å®ãããã®ãã¨ããé¨åããã²ã¼ã ã®ã³ã³ã»ããã交ãã¦å ·ä½çã«è§£èª¬ãã¦ããã¾ããã²ã¼ã ã®å ¨ä½åãã¶ã£ã¨ç¢ºèªãããæ¹ã¯ãå ã«ç´¹ä»åç»ãã覧ãã ããã
Â
PS3ã³ã³ããã¼ã©ã«ãã©ãã¤ããçµç·¯Â
ä»åèªåã§å®ããã³ã³ã»ããã¯ã空ãèªç±ã«é£ã³ã¾ãããã§ããã
æåã¯ã¢ããã¹ãè¶ é«éã§é£ã¶ã¨ãã«äºã®è ã«ä»è¾¼ãã§ãï¼ï¼ï¼å éè£ ç½®ããåºåãå¾ã¦é£ã¶ãããªã¤ã¡ã¼ã¸ã§ãwiiãªã¢ã³ã³ãã©ã¹äºåæµã§ç¿¼ãåºãããããªè ã®åãã¨ãæé¦ã®ã²ããã§è¡ãããæ¹åã«é²ãã¨ããã¢ããèããã®ã§ããããã®æä½æ¹æ³ã ã¨ã¢ããã¹ã®ãããªãé³¥ã®ããã«ä½ãåã«å¾ããæä½ããããå¿ ç¶æ§ããªãã®ã§ãã¡ãã£ã¨ä½é¨ã²ã¼ã ã¨ãã¦ã®é¢ç½ã¿ã«æ¬ ãã¾ãã
Â
ããã§çºæ³ããã¦ã¼ã¶ã¼ã®ä½ãå¼·å¶çã«å¾ãããã«ã¯ã©ãããã°ãããï¼ãã¨ããéããã®ã¢ããã¼ãã«ãã¦ã
Â
ã¦ã¼ã¶ã¼ã®ä½ãå¼·å¶çã«å¾ãããã«ã¯ã©ãããã°ãããï¼
ãâ
ä½ã®å¾ããæä½æ¹æ³ã«åãå ¥ããã°ãã
ãâ
ãããã¢ã¼ã·ã§ã³ã»ã³ãµã¼ãç©ççã«èè² ããã¦ãã¾ãã°ãã
ãâ
ã¢ã¼ã·ã§ã³ã»ã³ãµã¼ãèè² ã£ã¦ãç´å¾ã§ããã¢ãã¼ãã¯ä½ã ããï¼
ãâ
ãã±ãããã«ãã ï¼
Â
ã¨ããæèé åºã§ã²ã¼ã ãã¶ã¤ã³ã®åºæ¬æ¹éã決å®ãã¾ãããã¢ããã¹ã©ããã£ãï½
ã¾ãããã«ã¯ãã¦ã¼ã¶èªèº«ãæèçã«è¡ãããæ¹åã«ä½ãåããã¦ããã£ã¡ã«VRä¸ã®ç»é¢ãã¤ãã¦ãããã¨ããæä½ç³»ã®æ¹ãVRé ãããã«ããã®ã§ã¯ã¨ããèªã¿ãå«ãã§ãã¾ãããé転è ã¯å©æå¸ãå¾é¨å·®å¸ã«æ¯ã¹ã¦è»é ããã«ããçè«ãã«æ²¿ãå½¢ã§ããã
Â
ç¶ãã¦ãwiiãªã¢ã³ã³ãèä¸ã«èè² ãããã¨ããã¢ããã¼ãã§èª¿æ»ãé²ãã¦ããã®ã§ãããã©ããPCãUnityã§ã®wiiãªã¢ã³ã³ã®å¶å¾¡æ¹æ³ã«æ§ã ãªæ¹æ³è«ããããã¾ããããã®æè¡ããã°ãè¦ãéããªãã ãè¦æ¦ã®åããæ¼ã£ã¦ããã®ã§ãä»ã®åå¾æ¹æ³ã¯ãªãã ããã・・ã¨æã£ã¦ããã¨ãããPS3ã³ã³ããã¼ã©ã«èª°ãè¦åããããªãã£ãSIXAXISã¨ããã¢ã¼ã·ã§ã³ã»ã³ãµã¼ããã£ããã¨ãæãåºãã¾ãããç¨éãåå¾ã¨å·¦å³ã®å¾ããåå¾ããæ³å®ã£ã½ãã£ãã®ã§ãããªãããã½ãªã¥ã¼ã·ã§ã³ã§ããã
Â
PCã§PS3ã³ã³ããã¼ã©ï¼SIXAXISï¼ã使ãããã©ã¤ãæ¢ã
Â
â»æ³¨ ããããä¸ã®èª¬æã¯ãã¹ã¦Windows7ä¸(+Unity 4.5.5 C#ç°å¢)ã§ã®å°å ¥å®ç¸¾ã«ãªãã¾ã
ï¼Win8ã¯ãªãã¨ããªããããããªããã©ãMacã¯ç¡çãããªãããªã・・・ï¼
Â
ç¶ãã¦ã¯SIXAXISãæ¤ç¥ãã¦ãããPS3ã³ã³ããã¼ã©ã®ãã©ã¤ãæ¢ãã§ãã
ã°ã°ã£ã¦ã¿ãã¨ãã¡ã°ã使ããã¦ããã®ã¯ãMotionJoyãã¨ããã½ããã§ãã²ã¨ã¾ãOculus+Unityå´ã§ã®å®è£ ã¯æãã§PCä¸ã§ãã¹ããã¦ã¿ãã¨Bluetoothæ¥ç¶ããµãã¼ãããæ¯åæ©è½ããµãã¼ããã¦ã¦ãSIXAXISã®å¾ãæ¤ç¥ã対å¿ãã¦ãã風ã§ãããããã
- MotionJoyã®ç»é¢UIã使ãã«ãã
- ä»ã®BTæ¥ç¶æ©å¨ã¨ã®ç¸æ§ããããããªã
- ã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ãBTãã©ã¤ããå·®ãã¨ã½ããã復活ããï¼ï¼ï¼
ã¨ãããããæªããæåãããã½ããã ã£ãã®ã§ãå¥ã®ã½ããã¯ç¡ããã®ãã¨æ¢ãã¾ãã£ã*2ã¨ããããããã®MotionJoyã®è¬æåã«ãã¬ã人ãä½ã£ãããããBetter DS3ãã¨ããã½ããã«ãã©ãçãã¾ããã
Â
â Better DS3
http://betterds3.ciebiera.net/
â»æ³¨ï¼ã½ããåä½ã ãã§ã¯åãã¦ãããªãã®ã§ã以ä¸ã®è§£èª¬åç»ããDLLãåããã¦å ¥æãã¾ãããã
Â
 ãã®ã½ãããªãUIãã¨ã¦ãè¦ããããBluetoothãæ¯åãSIXAXISããã¼ã³ã³ãã£ã°ã¨ãã¹ã¦åé¡ãªãåãã¦ããã¾ããã
Â
ã²ã¼ã ãããã®å ¥åå½¢å¼ã¯å®ã¯2éããã
ã³ã³ããã¼ã©å¨ãã®æ å ±ãæ¢ãã¦ãããã¡ã«ãå®ã¯ã²ã¼ã ãããã®å ¥åå½¢å¼ã«ã¯ãDirectInputå½¢å¼ãã¨ãXInputå½¢å¼ãã®ï¼ã¤ã®å ¥åæ¹æ³ãåå¨ãããã¨ãç¥ãã¾ããã
Â
DirectInputå½¢å¼ã¯ãä¸è¬çãªUSBæ¥ç¶ã®ã²ã¼ã ãããçã§ä½¿ããã¦ããå ¥åå½¢å¼ã§ãUnity ã®ã¡ãã¥ã¼[Edit]-[Project Settings]-[Input]ã®ã¤ã³ã¹ãã¯ã¿ããã«ãããå ¥åãã¿ã³ã¨æ©è½ã®ãããã³ã°ãã§ãã¾ãã
Â
Xinputå½¢å¼ã¯ãXBOXã³ã³ããã¼ã©ã®å ¥åã«ç¹åããå½¢å¼ã§ãMicrosoftãæä¾ããå ¬å¼ã®ãã©ã¤ããå°å ¥ãããã¨ã«ãã£ã¦å©ç¨å¯è½ã«ãªãã¾ããUnity・・ã¨ãããããOculusã§ã¯ãOVR/Scripts/Utilå OVRGamepadController.csã§ãã®å ¥åã常æç£è¦ãã¦ãã¦(SDKãã¼ã¸ã§ã³0.4.3.1ã®å ´å)ãXBOXã³ã³ããã¼ã©ã®å ¥åã使ããPCã®å ´åãOVRPlayerController.csã®å¾åãããã§ãã®ã¯ã©ã¹çµç±ã§åãã¼ã®å ¥åæ å ±ãè¦ã¦ãæä½ãå²ãå½ã¦ã¦ãã¾ãã
Â
æ¯åã使ããã
ãã£ãããã±ãããã«ãã«ããããã®ãç©ççã«èè² ã£ã¦ããã£ã¦ããã®ã§ã
ãèä¸ã«ã¨ã³ã¸ã³ã®ãæ¯åããä¼ããã
ã¨ããæ©è½ãæä¾ãããæã§ããæ£ç´ãã®æ©è½ã«é¢ãã¦ã¯èª¿ã¹ã¦ãæä¸ã«é¢åããããªã£ã¦ããããããªã¼ã¨ããæ°ã«ãªã£ãã®ã§ãããPS3ã³ã³ããã¼ã©ãå ¥ããã«ã¡ã©ããã°ãèè² ã£ã¦æ¯åã ãã®ãã¹ãããã¦ã¿ãã¨ãããã®ããããã±ãããã«ãæããã£ãã®ã§ãããã¯çµ¶å¯¾ã«å°å ¥ãã¹ãï¼ãã¨æ°ãå¤ãããããã°ã£ã¦èª¿ã¹è¾¼ã¿ã¾ããã
Â
æ¯åæ©è½èªä½ã¯ã¡ã¸ã£ã¼ãªæè¡ãªã®ã§ã©ãã«ããã¦ã人ã¯ããã ããã¨æ¢ãåã£ã¦ããã®ã§ãããå°ãªãã¨ãPS3ã³ã³ããã¼ã©ã®æ¯åæ©è½ãUnityä¸ã§ãã®ã¾ã¾ä½¿ã£ã¦ããæ å ±ã«ã¯ãã©ãçãã¾ããã§ããããã®ä»£ãããXBOXã³ã³ããã¼ã©ï¼XInputå½¢å¼ï¼ã使ã£ãæ¯åæ©è½ã®ã©ã¤ãã©ãªãXInputDotNetããè¦ã¤ãã¾ããã
Â
Â
ããã¨åè¿°ã®éããXInputå½¢å¼ã®å ¥åãåãåãã«ã¯ãã©ã¤ããå¿ è¦ã«ãªãã®ã§ãåããã¦ä»¥ä¸ã®Microsoftå ¬å¼ãµã¤ããããã¦ã³ãã¼ãï¼ã¤ã³ã¹ãã¼ã«ã
ã½ããã¦ã§ã¢ã®ãã¦ã³ãã¼ã:Xbox 360 Controller for Windows
Â
ãã¨ã¯PS3ã³ã³ããã¼ã©ãXInputå½¢å¼ã®å ¥åºåãåãåãã°è¯ãã¦ã幸ãã«ãBetter DS3ã¯DirectInputå½¢å¼ãXinputå½¢å¼ã®å ¥ååãæ¿ãæ©è½ã¾ã§ããµãã¼ããã¦ããã®ã§ãããã§å ¨ã¦æ´ãã¾ããã
Â
æ¬é¡ã®ãSIXAXISã¨æ¯åã使ããã®æé ã¾ã¨ã
- PCã«Better DS3ãã¤ã³ã¹ãã¼ã«ãã
- Better DS3ã®è§£èª¬åç»ãè¦ã¦ãBetter DS3å ã§ä½¿ãDLLãã¡ã¤ã«ãå ¥ãã
- PCã«XInputå ¥åå½¢å¼ã®ãã©ã¤ããå ¥ãã
- Better DS3ä¸ã®å ¥åºåå½¢å¼ã§XInputãé¸æããSIXAXISã®å ¥åãä»ã®ãã¼ã«ãããã³ã°ãã
- XInputDotNetPureã使ããXInputå½¢å¼ã¨ãã¦Better DS3çµç±ã§PS3ã³ã³ããã¼ã©ã«å ¥åä¿¡å·ãä¼ããæ¯åãããã
Â
ãã¡ãã¯ç¾ãã¼ã¸ã§ã³ã®ãé£ã¹ãã¨ï¼ãã§ã®Better DS3ä¸ã®ãã¼ãããã³ã°ãSIXAXISãå³ã¹ãã£ãã¯ã®å ¥åã«å²ãå½ã¦ã¦ãä»ã¯ãã©ã³ã¯ã¨ãããªãã¨ãæ¼¢ãããè¨å®ï½ãã½ãããå¤ã«å ¬éããéã«ã¯æ®éã«ã³ã³ããã¼ã©ãæã£ãå½¢ããµãã¼ããããããã«ããã£ã¨æ®éã®ãã¼ãããã³ã°ã«ããäºå®ã§ãã
Â
PS3ã³ã³ããã¼ã©ä»¥å¤ã§åå¾ãããæå¾ã®ï¼è»¸
SIXAXISã§åå¾ã§ããã®ã¯ãä½ã®åå¾ã®å¾ããã¨ãä½ã®å·¦å³ã®å¾ããã®åè¨2軸ã¾ã§ããåå¾ã§ãã¾ããããã£ããä½ã®æä½ã§2軸ã¾ã§ã³ã³ããã¼ã«ãã¦ããã®ã§ããä½ã®å·¦å³ã®å転ãã¨ãªãY軸ããªãã¨ãã¢ã¼ã·ã§ã³çãªæä½æ¹æ³ã§åå¾ã§ããªãã・・・ã¨ææ¡ããçµæããããªãã¾ããã
Â
ä»æ¥è¡æçã ã£ãã®ã¯ãã¾ã£ã¤ããã .@n_mattun ã®ããããã¦ã¹ã使ã£ã¦æ¤
åã®å転ãæ¤ç¥ãã¦ãâ¦â¦ #OcuFes pic.twitter.com/p3XJeQQ25E
â ããã (@k0rin) 2014, 10æ 25
Â
Â
æçµçã«ãæå ã§æä½ããæ¬æ¥ã®ã²ã¼ã ã³ã³ããã¼ã©ã¯ãwiiã®ãã³ãã£ã¯*3ã®ãã¿ã³ï¼ã³ã ãï¼ã¸ã§ããå´å°ï¼ãã¨ãããã®ãããã¨ã³ãªæä½æ¹æ³ã«ãªãã¾ããï½
Â
ãããªãå°æ¥çã«ã²ã¼ã ãæ¡å¼µãããï¼ã¨ãªã£ãå ´åããã¼å²ãå½ã¦ã«è¦å´ãã¾ãããããããå°çé²è¡è»4ã®ã¦ã£ã³ã°ãã¤ãã¼ã¿ããã«ãé£ã³åããªããæ¦å¨ãåãæ¿ãã¦æ»æãããã¨ããæä½ãç°¡åã«ã§ããã ãããããªããªããã§ã³ãµã¼ã®äºåæµãçµã¿åããã¦ãå¾æ¥ã®FPSã§ã¯å®ç¾ä¸å¯è½ã ã£ããç §æºãäºç®æã«ãã¦å·¦å³å¥ã ã«ä¹±å°ãã¾ãããã¨ãããã¨ããããã¨æãã°å®ç¾ã§ããã§ãããã
Â
ã£ã¦ãããããã¾ã§ããã¨èªåã§ä½ãããããªãã£ã·ã£ã«ã§ä½ã£ã¦æ¬²ããã®ã§ãD3ãããªãã·ã£ã¼ã¯å°çé²è¡è»4.1ãProject Morpheusã«ãã«å¯¾å¿ãã¦ãã®é¡ããå¶ãã¦ãã ããããããã£ã¦ããããPS4+ã¢ã¼ãã£ã¢ã¹+Moveäºåæµã§ãããé«ãã¤ããã©å ¨é¨ã¾ã¨ãã¦è²·ãããï¼ï¼æ¬æã®ã¬ã®ã³ã¬ã¤ã´ã®æ¬¡åä½ããããããã©ãã®æ¬¡ã¾ã§ææ ¢ããããããï¼
Â
ææ¥ï¼12/03ï¼ã¯ã@blkcatmanããã®ãUnityããå ¨çç»åãã¤ããããã¿ãã¨ã@soyliquidããã®ãOculusRift対å¿ã¡ã¿ãã¼ã¹çãªãã®ãã¤ãããããã®äºå®ã§ãã
Â
*1:æ£å¼å称決ãã¾ãããä»®åã®ãFlying Booster 2ãã10å¹´åã«ä½ã£ãFlashã²ã¼ã ã®ç¶ç·¨ã¨ããã¿ã¤ãã«ã®ä½ç½®ä»ãã¨ããæçãããã®ã§ãè±èªåã§ãªãªã¼ã¹ããæã¯ãã£ã¡ãå¼ãç¶ã使ãããï½
*2:åèã«ãã¾ãã£ãè¨äº
*3:ãã³ãã£ã¯ã®æ¥ç¶ã¯ããã使ãã¾ãã
- åºç社/ã¡ã¼ã«ã¼: ã¨ã¬ã³ã
- çºå£²æ¥: 2013/02/16
- ã¡ãã£ã¢: Personal Computers
- ãã®ååãå«ãããã°ãè¦ã
Â