In this VR project I am making a game with Nintendo switch Joycons.
First things first, I needed to get the Joycons working. I found a handy library and a couple of tutorials online which helped me setup the joycon for bluetooth connection. The condition? It only worked on PC. However, this was not a problem.
I used my PC and phone to create a socket connection, which took a little bit of work but I got the PC sending socket messages to itself. However, it didn’t work on the phone. After debugging with family, I realised that I was creating two servers. A huge mistake. I cleaned this up and it worked perfectly.
I imported the VR library and worked on Joycon gyro control, and I now have an extremely basic prototype where you can “shoot” a coin with the Joycon when it is pointing at the coin.
I intend to make this into a collection of games.