Intel Realsense t265 into Unreal Engine. Windows only.
Simple script that sends data into Unreal Engine through the JSON liveLink plugin. Works with both location and rotation.
- Install python 3.7.9, and remember too add it to PATH https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe
- do "pip install pyrealsense2" in CMD
- Create a c++ project, and install JSON-Livelink Enhanced plugin into your project - https://github.com/clintonman/JSONLiveLink/tree/enhanced When its built, it can be copied to other non c++ projects in the same version5.
- OR download precompiled plugin from this repository. Current versions are 4.26.2 and 4.27.0
- Configure livelink to recieve on localhost.
-
Run script from repo with the command "py tracker.py", after you start it, it should show MHtrack in Livelink controller window
-
Add livelink component to your camera
- choose MHtrack as your "Subject representation"
Thats it!