I am interested in integrating force feedback devices like the Novint Falcon and Sensable Phantom into Unity3d. The one basic requirement for the rendering of forces on a device is an infinite loop that runs at more than 1000hz. Obviously the rendering cannot be implemented inside an update function (which runs at 60hz, also infinite while loops crashes Unity).
My questions are :
(1) Can co-routines or some other Unity feature be used to get a loop rate > 1000hz?
(2) Suppose I run an external service that does the haptic rendering, what is the best way for my unity script to communicate with such a service?