> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction.md).

# 玩法与交互

核心玩法机制和玩家交互。

核心游戏机制与玩家交互。

| 示例                                                                                                                                                 | 演示内容                        | 维护者          | 标签                                     | 来源                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ------------ | -------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [输入修饰器](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/input-modifier.md)                      | 在场景的部分区域更改或限制玩家的移动输入。       | Decentraland | `movement`, `input`, `player`          | [打开场景](https://github.com/decentraland/sdk7-test-scenes/tree/main/scenes/0,1-input-modifier)         |
| [粒子系统](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/particle-system.md)                      | 火焰、烟雾、火花、雪以及其他粒子效果。         | Decentraland | `particles`, `effects`, `visuals`      | [打开场景](https://github.com/decentraland/sdk7-test-scenes/tree/main/scenes/0,7-particle-system)        |
| [指针锁定控制](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/pointer-lock-control.md)               | 捕获鼠标输入以实现自定义控制。             | Decentraland | `input`, `mouse`, `camera`             | [打开场景](https://github.com/decentraland/sdk7-test-scenes/tree/main/scenes/31,20-pointer-lock-control) |
| [射线投射与碰撞体图层](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/raycasting-and-collider-layers.md) | 指向场景几何体，并控制哪些碰撞体会对射线投射作出反应。 | Decentraland | `interaction`, `raycast`, `collision`  | [打开场景](https://github.com/decentraland/sdk7-test-scenes/tree/main/scenes/77,-1-raycast-unit-tests)   |
| [触发区域](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/trigger-areas.md)                        | 检测玩家进入和离开区域，包括基于碰撞体的触发器。    | Decentraland | `interaction`, `triggers`, `collision` | [打开场景](https://github.com/decentraland/sdk7-test-scenes/tree/main/scenes/75,-9-trigger-areas)        |
| [僵尸攻击](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction/zombie-attack.md)                        | 一个完整且可玩的游戏场景，包含敌人和计分系统。     | Decentraland | `game`, `complete-scene`, `score`      | [打开场景](https://github.com/decentraland/sdk7-goerli-plaza/tree/main/zombie-attack)                    |

[浏览所有示例场景](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/examples.md)


---

# 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.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/gameplay-interaction.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.
