I wanted to Build a physical Game in sense of having an external sensor like heart rate or light sensor sending data to Blender engine and use these data to move object or do something within the game so is there a way Blender can handle external sensors

Thanks in advance

  • 1
    $\begingroup$ I was able to do this with an Arduino, I don't know if it would work without. $\endgroup$ – Scalia May 23 '15 at 14:51
  • $\begingroup$ so its possible with Arduino then i am good with that but how to do it i mean the code that used by Blender to open the port and communicate with Arduino $\endgroup$ – MXA Music May 23 '15 at 16:22

While i havent seen it doen inside the game engine, it has been done inside blender. there is a great stack exchange answer here How to move an Arduino's servo motors using Blender?

To use this in the game engine you would need to modify the python code to use the game engine modules, and connect it as a python script controller in the game panel.


This sample maybe userful


It makes the integration with OpenDevice(Java) and Blender (Python)

Allowing you to make any kind of communication with the Arduino (Bluetooth, USB, ethernet, wifi), the OpenDevice does the dirty work



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.