For example, i have scene, with much objects, and assigned to each object
- Python-controller with module.
Is engine do something action between calls of two controllers, at one
logic tic, or all controller’s code executed as one solid block?
May be, best solution is calling all scripts throught one controller?
In attached example, controller calling one script init.py, that search
py-files in “scripts” directory and subdir. Next, do import finded
modules, by build-in function import and executed “main”-named
function from them.
Each script output in console it’s own message, and script add_object do
adding cube from inactive layer. In this time, only one module is
connected - init.py.