YanDaik When engine uses "run on separate thread" setting for 2d/3d physics how to run custom function on physics thread? From main thread. Something like call_deffered_on_thread()? GDScript or c++? Does engine have such functionality? Godot 4.0
klaas This is not what you think it is. This settings makes godot calculate physics in an seperate thread and not in the main thread. You cannot run your own scripts in this physics thread. Read this for running custom scripts in a speerate thread: https://docs.godotengine.org/en/stable/tutorials/performance/using_multiple_threads.html