Hi guys I am working on a POC for a VR retail store and AI assistant. It is my first time programming for Rift with UE4 and I am having difficulties working out how to run the actor that speaks through SAPI at the begging of the program in a separate thread. Basically what is happening is when the actor loads, SAPI says a few words but it basically freezes the thread, so there is a white screen whilst the speaking happens, and then it loads the rest of the program once the speaking stops. Code can be found below and also a video of it happening.
Would be really cool if someone can point me to docs / examples on how to resolve this or can offer any advice, thanks in advance guys.
https://github.com/iotJumpway/Oculus-Examples/blob/master/Rift/vrAIretail/Source/vrAIretail/TOA.h https://github.com/iotJumpway/Oculus-Examples/blob/master/Rift/vrAIretail/Source/vrAIretail/TOA.cpp