> 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/web-plugins/playcanvas-plugin/adding-characters-to-scene.md).

# 将角色添加到场景

将角色添加到场景——Convai 集成的 PlayCanvas 插件指南。

{% hint style="info" %}
准备 .glb 文件时，请确保模型包含用于口型同步的变形目标。变形目标可用于制作面部表情和嘴唇动作动画。
{% endhint %}

### 下载你喜欢的 glb 角色。

{% content-ref url="/pages/58cd82ff7f7999ee331e5b4213d85d361ef1ec4e" %}
[Convai 的 GLB 角色](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/glb-characters-for-convai.md)
{% endcontent-ref %}

创建好 glb 文件后，将其拖放到 PlayCanvas 编辑器中。<br>

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FIa9zhNPsrS3TuZmRvLhr%2FScreenshot%20(30).png?alt=media&amp;token=098052df-f369-48c8-b2e3-bcf2fcbbd30c" alt=""><figcaption><p>PlayCanvas 中的 GLB 角色</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/playcanvas-plugin/adding-characters-to-scene.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
