Streaming to Unity

Orion Streaming into Unity 5.5 

To stream the solved skeleton data from Orion Run Time into Unity, the beta package includes a premade Unity plugin. This plugin streams in the solved skeleton to a skeletal mesh with the same hierarchy as the Orion skeleton. A skinned skeleton is also included as part of the package. The FBX can be found under (OrionPackage)/IKinemaMale

The setup process is described in this video


Version Requirement

The plugin is supported for the following version of the Unity Engine and Orion Run Time

  • IKinema Unity plugin version 0.2
  • Unity Version 5.5
  • Orion RunTime 0.1-beta

Installation The plugin is installed by copying the content of Assets folder under (OrionPackage)/UnityStream to the Assets folder of the Project. Alternatively, start a new project in Unity, and drag and drop the content of the Assets folder to the Assets folder in the Project tab in Unity. If the installation is successful, the Assets folder in Unity will contains the highlighted content below


Visualising Orion Solve in Unity

To stream and visualise the Orion solved data on the IKinemaMale character inside Unity. First, import the character by dragging the IKinemaMale.unitypackage from (OrionPackage)/IKinemaMale to the Editor’s Assets browser. Once the character is imported, place on the scene and add the IKinemaVRPN component. The default settings should connect and stream in data from Orion Run Time instance running on the same machine.  You can change the settings of the IKinemaVRPN component, in the Inspector window of the character. Below is a description of the settings

• Subject Name Orion subject name, currently Skeleton

• Server Name IP address and port number of the machine running Orion, default localhost:3883

• Update Scale From Source Overrides the game object scale to match the Actor