I am trying to develop an app that integrates OptiTrack with Unity.
Specifically, I want to attach markers to shoes, obtain their position information using OptiTrack, and reflect this position information in real time in an app running on Magic Leap 2.
While creating a prototype, I found that Unity and OptiTrack can communicate within the Unity Editor. However, after building the project and executing it on Magic Leap 2, it appears that Magic Leap 2 and OptiTrack are not communicating, even though I had set the IP address to that of Magic Leap 2.
Is it not possible to integrate OptiTrack into a project running on Magic Leap 2?
Unity Editor version: 2022.3.21f1 ML2 OS version: 1.6.0 Unity SDK version:2.1.0 Host OS: Windows
Thank you for replying.
I have looked into it as you advised, and it seems that the Unity Plugin by Optitrack may not be supported on Android devices.
If it cannot be implemented, that would be very disappointing.
In our research lab, we did it by retrieving the rigid bodies from OptiTrack using a desktop Unity app (same machine running OptiTrack/Motive) and by forwarding the information (using UDP and JSON) to the ML2 Unity app !