# VP Unreal Engine

## TUTORIAL VIDEO:

{% embed url="<https://drive.google.com/file/d/1Jz3LRi7M-D6Kd_X_DX8VKZIZe2b78uAA/view?usp=sharing>" %}

### Initial Setup Steps:

1. Open Unreal Engine and create a new project. The project can be blueprints or C++.&#x20;

   **Note:** Blueprints are recommend and are the easiest way to get started.
2. Navigate to the projects folder on your computer.&#x20;

   <img src="https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FTHLXb4dpwhUZFNC2fcwz%2Fimage.png?alt=media&#x26;token=8cf449f2-600d-4876-baf8-58f1b2f7b94a" alt="" data-size="original">
3. In the projects folder, create a new folder called **"Plugins"**. Open this folder.

   **Note:** This must be done for every new project.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FvC7cx8YMw0lL6vBNXAzI%2Fimage.png?alt=media\&token=fbb782ee-84a9-43d7-870d-c102e4c13666)
4. Download the pre-compiled plugin from our google drive. Current versions are 4.27.0 and UE5. &#x20;
   * UE4 version found [here](https://drive.google.com/file/d/1QikYKRWkXRSRI-C5T54warDDtK_dVKsx/view)
   * UE5 version found [here](https://drive.google.com/file/d/1y8LTfvyCkOxlIZrHfD-GLPSrFiWSOlIR/view)
5. Copy your download pre-compiled plugin **.zip** file into the newly created **"Plugins"** folder for your project.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F71ugbtDQorXx2WvW02No%2Fimage.png?alt=media\&token=29964b33-b27e-4c64-ada4-98c9fbde0b13)
6. Unzip the plugin.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FSEBtS6UC7XYZg1ncH1kg%2Fimage.png?alt=media\&token=45d6f681-6b28-4233-a44a-65537c974925)<img src="https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FQKxE31n5CkolBJhyZeLi%2Fimage.png?alt=media&#x26;token=7af4c95a-23b6-4858-934e-490dc107ec81" alt="" data-size="original">

   **Optional:** Delete the pre-compiled plugin .zip file.

   **Note:** Any other AXIBO plugins will be installed the same way.&#x20;
7. **Important:** Re-launch the project.&#x20;

### Setting up the Live Link

1. In the top left of the Unreal Engine window go to Window --> Live Link.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FMgjX0IkuJRhvvTbKQhvi%2Fimage.png?alt=media\&token=42d47b7f-34e0-44c2-9049-b87da3a0b429)
2. Now that we are in the Live Link tab we can configure Live Link to receive on localhost. \
   ![](https://lh6.googleusercontent.com/W-5b2HcuOJbRPpTyam5S59z8A-URTNaD4EtbxtB42JcGgmKJHy_VJcJPv3FjyE2Rivk5XMDUnJkOb0Xvewg6rvSJ5AUDZ82j4inzyv0UIq2CyF4WpYRgC3LwMiR3ZYCoN58d9UIATaDuLJPFwm3edIE)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F2r3ck0Iwo7TbZwYLEKWC%2Fimage.png?alt=media\&token=bb09a909-d2f5-41a2-b312-320e2a47e53d)

   **Note:** No need to change the IP address.
3. In order to get the IP address of the UE machine we need to find the IP address of our computer.

   1. On Windows open command prompt and run `ipconfig`![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FN9A1HJMjaNMhrkOv1dc8%2Fimage.png?alt=media\&token=b634940a-59df-4a6a-b9b2-1896cecc3c89)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FH9H4zRTdoiZuYZjOgK2G%2Fimage.png?alt=media\&token=f6636176-83c6-4608-8fd7-62c2b9825284)
   2. On macOS open terminal and run `ifconfig`&#x20;

   &#x20;     ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FygguRPTSUPtEfCfXBNML%2Fimage.png?alt=media\&token=f35bbee9-d859-47c2-ab95-6b4efb616e2a)
4. From the AXIBO UI got to the **"Virtual Production"** tab and enter in the IP address you just copied. **Start** Live Link from the AXIBO UI.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FPN3pjo1UZ2qkmT9jtEOI%2Fimage.png?alt=media\&token=603cb722-7274-467e-9e86-8542af3b8ee1)
5. Once the Live Link is started you can see that the AXIBO camera is now connected in Unreal Engine. \
   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FQn5n9D6Q1f87OJcI6jit%2Fimage.png?alt=media\&token=b916ea30-38d3-4a41-bd4d-dccb41b82af8)

   **Note:** If you have multiple AXIBOs these will also show up.
6. Create a camera component and add it to your scene.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FMzdyvuxMCvkoID5MU92m%2Fimage.png?alt=media\&token=e3c54898-4384-4f7a-9b7c-5c573f6f5b91)
7. In the **"Details"** tab on the right hand side of Unreal Engine grab the XYZ coordinates of the virtual camera and copy and paste these coordinates over to the AXIBO UI. Click **Configure**.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FKOnneOt6oxpR7Cmkwly9%2Fimage.png?alt=media\&token=5d5d60cf-ee08-4357-bea3-552eac3dcef6)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FDX5UG6nl3EUiK3Cv88Ec%2Fimage.png?alt=media\&token=ca54ad24-3151-4d64-996e-00d95e3ae086)
8. In the same **"Details"** tab we are going to link the camera using **"Live Link Controller"**. \
   ![](https://lh5.googleusercontent.com/FX_XTRVSRN-N8WSgxapYtK0D5IhASmndH3bzq2F3Vx6tog4Q6npmIg0XnMYkc7HOzT9pK7kLYiYWRGKh6CRUnLywPbMUEsSbUdn0ZyWUPnBR066vGyDxen0Dz87NAmWzJbreao1EyPjAY2ZWLZ7ELlw)
9. Select the AXIBO camera as your **"Subject Representation"**.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2Fp3kZfVRvxj2cBad58BBI%2Fimage.png?alt=media\&token=2e89dcda-520f-40f9-b203-ed02138dfb06)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FFrSmhnnQYH3xvGgBXGSp%2Fimage.png?alt=media\&token=79e8d7ed-ba49-44b5-9a36-e462aad36696)
10. All done! Now any movement that is performed by the AXIBO whether that is keyframes, tracking, and more will be replicated in Unreal Engine.\\
