Note: Contents in this page are still preliminary and the instructions are subject to be changed
Overview
Get Motive streaming with at least one rigid body. Make sure the Streaming settings are set up correctly, and the rigid body is active under the Assets pane.
You can install the OptiTrack - NatNet Streaming Client plugin by putting the plugin files into one of the following directories:
C:\Program Files\Epic Games\[Engine Version]\Engine\Plugins
[Project Directory]\Plugins
Go to Edit → Plugins and enable the OptiTrack - LiveLink plugin as well as the Built-In LiveLink plugin in UE.
The LiveLink pane can be accessed from Window → Live Link from the toolbar in UE.
In the LiveLink pane under Source options, go to the OptiTrack Source menu and configure the proper connection settings and click Create. Please make sure to use matching network settings configured from the Streaming pane in Motive.
If your settings were correct, then the plugin will list out all of the detected rigid bodies, and they should have green dots next to them signifying that the asset has been created and is receiving data. If the dots are yellow, then either your take is paused, or there is some sort of connection error.
Add a camera actor from the Place Actors pane or a static mesh from the project into your scene. For the static meshes, make sure their Mobility setting is set to Movable.
Select an actor you want to animate, click the “Add Component” button on the details pane, and add LiveLinkController.
Under the Live Link Controller component that has been added, configure the following properties. You will need to expand the settings to change this:
Now the objects with the LiveLinkController component attached and configured will be animated in the scene.
When the camera system is synchronized to another master sync device and a timecode signal is feeding into eSync, then the received timecode can be used in UE project through the plugin.
From Edit → Project Settings, search timecode and under Engine - General settings, you should fine settings for the timecode. Here, set the the Timecode Provider to LiveLinkTimeCodeProvider.
Open the Live Link pane, and select the OptiTrack subject that we created when first setting up the plugin connection. Then, under its properties, check the Timecode Provider box.
The timecode from Motive should now be seen in the Take Recorder pane.