> 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).

# 向场景中添加角色

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

### 下载首选的 glb 角色。

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

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

<figure><img src="/files/f9bf93c3b4c777675fe3d5191b1b0836e50e525e" 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 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/web-plugins/playcanvas-plugin/adding-characters-to-scene.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.
