itch.io is community of indie game creators and players

Devlogs

Controller Prototyping

That UFO Game
A downloadable alt ctrl for Windows

Next, I searched for the easiest way to provide rotational input into Unity. I'm using a Elegoo board, a optical rotary encoder, and the Uduino plugin for unity to simplify Arduino input. As the encoder rotates, it sends pulses that are offset from each other, and the board interprets those impulses. It outputs a rotational value to Unity, which gets updated every frame and uses the difference of values between each frame to determine rotational acceleration. 

Download That UFO Game
Read comments (1)