Java Addon to the Blender Game Engine

Hi everyone,

I am a 4th year student currently working on my dissertation. Im trying to create a java addon that will, in theory, allow me to control in-game objects using a java AI. I know I need to create an interface in python that will allow communication between the BGE and my java AI application, but im struggling to find any past examples whether it be in the BGE or others.

Any help or knowledge anyone has would be greatly appreciated!

Cheers,

Tom

Yo u can create a tcp/ip connection. Then you can run your AI in any application you want. It can even run at a different PC.

All you need to do is to create the according Python code that translates scene data to the communication channel and vice versa. Indeed you need a similar component inside your java application.

even better you can embed python in your java application
through multiple systems, such as jython and jepp.

here is the wiki
https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages#Java

Thanks very much! This is very helpful, I had no idea where to begin!