Download

Sensor Integration

I was wondering if anyone could help me out here… I am working on a project where I need to track a real world bat on unreal.

I am planning on configuring the bat with accelerometers/gryos to collect the data needed to control the bat, but I am not sure how to get the data into unreal once I have it on my computer. I was wondering if anyone had done something like this before or could point me in the right direction.

You can bind your own API in a .dll, .lib, or any C++ code with a plugin, and forward the input to C++ classes, blueprints or the UE input mapping system (recommended route). This is the way I did it for the motion controller Razer Hydra, see https://forums.unrealengine.com/showthread.php?3505-Razer-Hydra-Plugin for details, there you will find a full source (github and any of the dl zips) for the implementation so you can easily just take the plugin and rewrite the parts specific to your sensor.