- Home /
How to use an IMU with Unity?
I have made a game that I currently use flex sensors along with an Arduino to operate but now I want to go wireless and make use of IMUs. I have seen many Unity projects online that used IMUs but they did not say how they streamed that data into Unity and what kind of API they used in order to get the data from the IMU. Anybody who has done this would have any guidance? Here are my questions
1) Which company's IMU did you use? I am specifically looking for wearable IMUs 2) Was your IMU wirelessly communicating with your game? If yes, how did you do it?
Any help and guidance would be greatly appreciated
Thank you
Answer by benji123abc · Jul 27, 2019 at 01:28 PM
I have been working on a similar project, using the GY-521 module. The Arduino connected to these modules communicates with unity through Serial. Though I have not tried wirelessly connecting them to unity, it would work something like this: Each module would be connected to its own Arduino, and they would be communicating via bluetooth to one main Arduino, that would be connected to the computer, feeding it data.