i have some problems with multi-threading. I created a thread which recieves data from a bluetooth socket. I want to rotate an actor with this datas. I know that only the game thread should modify an actor, therefore how can I achieve this with an other thread?
You can modify actor from any thread, in fact ticks are executed in multiple threads. You just need to watch out so code in diffrent threads wont mess eachother, so avoid threads using same varables in same time as theres no guaranty which operation will be executed before and which one after