I’m trying to setup haptics for our game and I realized that for complex haptic patterns, like the ones you might produce with Meta Haptics Studio, rate at which Update() is called will limit the precision with which I can create those patterns with the haptics system.
I was thinking of using a separate thread that updates more times per second than our FixedUpdate or Update (maybe 1000 updates per second) and I was wondering, before I try to code this, is it even possible to call: .SetMotorSpeeds() from another thread?
If not, I’d have to wait for the main thread to run an update which means the whole exercise is pointless since I’ll be waiting up to ~16ms.
If it is possible to call .SetMotorSpeeds() from another thread, great! If not, does anyone else have advice on how to make the haptics update more frequently?