> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/creating-reallusion-characters/importing-reallusion-character-and-setting-up-the-convai-plugin.md).

# 导入 Reallusion 角色并设置 Convai 插件

## 导入 Reallusion 角色并使用 Convai 插件进行设置的步骤：-

1. 在 Unreal Engine 中创建/打开一个项目，并从此处下载适用于 Unreal Engine 的 Reallusion 自动设置 [链接](https://www.reallusion.com/auto-setup/unreal-engine/default.html).
2. **`根据你的 Unreal Engine 版本，下载 > 安装 > 打开对应文件夹。`**

<figure><img src="https://lh4.googleusercontent.com/KKHzQ2Tq3PFpumDUDOvUk86Vtq3_Vojbc3tQqPof8B9vSDVQd4Ef8eSzSF8vOuyfNKzdnU1kElkFKCGQ-k7opYiiCjlDTvlPAhlPVn9BP2tb2_S059-C6ZqCtD-IjnfQbSem6VOzuPNTFhp0W1xQEYQ" alt=""><figcaption><p>根据 Unreal Engine 版本选择</p></figcaption></figure>

3. 复制 Content 和 Plugins 文件夹，并将它们粘贴到你的 Unreal Engine 项目文件夹中。

<figure><img src="https://lh6.googleusercontent.com/ELKVfBx_ahVctYmPA-QcrSf5RlUXCufeekayrh1kPiA25FN3_UhOResU1HCq3z3t7xoqKgwblMMIuU9ZOdOe-LTr7BQLqoG_nOkMdULVCChzxSTGuqqjU3gNIqLpBnbHhc1d3kFMY6_wtydYKFesQW0" alt="" width="375"><figcaption></figcaption></figure>

4. 重启你的项目，并在内容浏览器中创建一个新文件夹（比如‘Kevin’）。
5. 复制 **`.Fbx`** 从导出内容中将文件（以角色命名）导入到 `‘Kevin’` 在内容浏览器中，FBX 导入选项菜单将会弹出。
6. 勾选以下选项，然后点击 Import All：-

   * Use T0 As Ref Pose。
   * Import Morph Targets。

   <figure><img src="https://lh4.googleusercontent.com/syMmhHd9yIz8WfhSh8Vns7UrE5kbkEH37vS5duikYA_M4-O5D1IpudCcDyVtyC4hdjJUHAzbSdPWBzhKaUcX02YCbPamGcVqO9_biV2HFg4gBn5rmliCdwqY-WRsFBbsz92GtcK5Oiia3syh4TrU5JY" alt=""><figcaption></figcaption></figure>
7. 在 Kevin 文件夹内创建一个名为 Animations 的新文件夹，并导入所有动画文件（命名为 **‘\_motion’** 结尾）从 Reallusion 导出的文件中。

<figure><img src="https://lh3.googleusercontent.com/4g9rAlvonvdnIDFAkGIe0P9J9_m21k5TZQ6l8jV3aSX5TFKOpOo0ldHYc9dO08DZMou5PkwhBMbwgc-wlIh8juI0wt7IderaCSjTezKz8ppqNXSxDrUIdlRc-wbn0wxuKVlQlPf0kAEXUAMxmouJkd8" alt=""><figcaption><p>动画文件示例</p></figcaption></figure>

8. FBX 导入选项会再次弹出，取消勾选 Import Mesh，并选择你导入的骨骼。
9. 在 **`动画 > 高级`**。勾选 Use Default Sample Rate。
10. 点击 Import All。
11. 现在从 Epic Marketplace 安装 Convai 插件并重启引擎。
12. **`Edit > Plugins`**.
13. 搜索 **`‘Convai’`** 并通过勾选复选框启用它，然后重启。
14. 在 Kevin 文件夹中创建一个新的 Blueprint Class，并在 ALL CLASSES 下选择 **`‘ConvaiBaseCharacter’。`**

<figure><img src="https://lh6.googleusercontent.com/eumEmsYeMLBaAeArB2TIzZNx_d1h-oaQ_xqI5KKfWGX8MdoDlACJQYrKFOtGsWbdCdqpgLWTbLiNnO7hoSumHsX0GNeaR6Wmbn6BxxeFOShKzU052DeJhttnEy432OK_aQNUsTWQjS7qygtjKk4Yo9I" alt=""><figcaption></figcaption></figure>

15. 打开该蓝图。 **`Components > add > Skeletal Mesh。`**

<figure><img src="https://lh4.googleusercontent.com/1gk_tQ_A6ASsQds3SS88HMWgpWIahG_4TB-qHeg7rRJ1ZNdXa7KWPSEqmgBdK4lSmv95l4VWZuqJ8IVSu4pC4X2BQ5z1vVBCV0Syat5vdKaVcr9aNjWmP9aGJTHHfuGoJ9NFCiZJ34B_G7NVSyBF7Jo" alt="" width="375"><figcaption></figcaption></figure>

16. 在 Details 选项卡中前往 **`mesh > Skeletal Mesh`** 并选择从 Reallusion 导入的名为 Kevin 的网格。

<figure><img src="https://lh6.googleusercontent.com/Ysmyg83HIUMsbTpYlxNa5KUVovd7RQR5tyDlWI0l7rT_EESRC4aZ5Z-e2nGQvB8N-NoguKxvUJ4G5EPB8Ktf6_fkzzuJGi9gSx0Lq4U4e1D3ARQ1OWfkWDwqd2ZIh1uka2Yfn0Z0GJ1kmGQhfd2miDo" alt="" width="375"><figcaption><p>从下拉菜单中选择一个网格</p></figcaption></figure>

<figure><img src="https://lh6.googleusercontent.com/jlBbvoU4jYLvmuGAUnzI1Sf1tKckWTWuRFUcAD_EBwHjT1b264smAD5Ba4PZNcWlnPn_c4RtSAl2Q8Eeh2hHBluiWKbx9S1C0PNB3YcMZeEBhKXGqcNjE0XPn_l6HIQlx5LD17oE4pJUIYsaziPuwZ0" alt="" width="188"><figcaption><p>选择一个网格</p></figcaption></figure>

17. 要更改玩家的父类，请参考 [此处](/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/creating-metahuman-characters/change-the-parent-class-for-player..md) 部分开始。
18. 最后，通过选择你刚刚添加的角色（来自 Convai 网站）添加 Character Id，这样你就可以享受与 AI 伙伴聊天了。<br>

<figure><img src="https://lh6.googleusercontent.com/2qBxsfaY76JYx4Y_Ipm58ThbQv1cyZDQg7Kb3G9aWL9_YowEgxhrxX2ce_HlqXkgybndrdXP4w5pcOeIMEitjAUvDG5pbftlbmuRlpcd_VCRpVzgPDWQlAQc1zcE8tKCLM6cvXGnQloOee06JkJ5JaQ" alt=""><figcaption><p>在此输入角色 ID</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/creating-reallusion-characters/importing-reallusion-character-and-setting-up-the-convai-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
