Is it possible to embed Godot into another application?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By marcello76

Hi,
I need to use Godot as game engine for my application. I explain: my application (which is written in python) will generate the coordinates of an object, I then want to use the coordinates produced by my application to move the object in the 3d environment drawn with Godot (which is OK for me to code in GDScript but also in C++) . The problem it seems I can do that only if I embed my application inside of the Godot project, but actually I want to do the other way around. I would like my application written in python to communicate in some way with the Godot project by sending the inputs for the objects’ position.
Is it possible? How to do it?
Thank you in advance

:bust_in_silhouette: Reply From: Calinou

Godot isn’t meant to be integrated within another application; it can’t function as a library.

That said, you could implement some sort of IPC using a TCP socket, files that are read by Godot on a regular basis or something along those lines. (Godot can’t read standard input either.)