- Edited
Good afternoon. I have a question. When setting the option to run the physics engine in a separate thread, raycast execution throws an error. The documentation says that in the case of a separate thread, the call of raycast should only come from _physics_process, my raycast is called from a function. In some cases, when found in Area. How do I call a function in _physics_process? Or did I mess up something?
How to solve the Raycast error problem using the option to run physics in a separate thread?