Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
11 changes: 5 additions & 6 deletions docs/content/schinese/Editor/Scene Editor/path_editing.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
+++
title = "Path Editing"
title = "编辑路径"
description = ""
weight = 1
+++

Level designer can easily add, edit or delete paths and path points by the scene editor.
关卡设计师 (Level designer) 可以在场景编辑器 (Scene Editor) 中轻易的增加、修改和删除路径 (Path) 和路径点 (Path Point)。

##### Adding a new path
##### 添加一个新的了路径

User can use the Add New Path button at the upper toolbar. User should enter a unique name for every path. After the path is added, the editor's editing state will become "Path Select". By spacing either space or the "Add a new path point" button from the upper toolbar, user can transition to the "Path Node Add" mode and start adding new path nodes. At every click one more path node will be added to the current selected path. By pressing space again, user can start selecting and editing the existing path nodes. Every path node has three transform points. These are the center(cube) and the two tangents(spheres). User can hover onto them and select them by pressing the left mouse button. Then, pressing "T" button will spawn the transformation triad which can be used to move these points. Every operation can be undone by the "Control z" key combination. Selected path nodes can be deleted via the "Del" key. A path can be deleted by selecting the path and hitting the "Del" button. Also, to select another path, one can just hover into one of its node poinmts and pressing the left mouse button.
用户可以使用在工具栏上部的 添加新路径 (Add New Path) 按钮,可以为每一个路径设计一个独特的名字。路径添加之后,编辑器的编辑状态 (Editing State) 会变成“路径选择”("Path Select") 状态。此时按空格 (space) 或者 点击工具栏上部的添加一个新路径点 (Add a new path point) 按钮。用户可以回到 "路径点添加" (Path Node Add) 模式然后添加新的路径点。每点击一次就会在当前选中的路径上添加一个新的路径点。此时再按空格,用户就可以选择并且编辑当前的路径点。每一条路径点都有 3 转换点 (Transform Points):中心方块 (Center Cube) 和两条切线球面 (Tagent Spheres)。用户可以鼠标悬停于此然后点击鼠标左键选中他们。然后,按 T 键开始产生这 3 个转换点,之后便可以移动他们。每一步操作都可以通过 "Control + Z" 组合来取消操作。选中的路径点可以通过 "Del" 键移除。选中的路径也可以通过 "Del" 键移除。同时,如果想选中另一条路径,可以鼠标悬停在那条路径其中一个点并点击鼠标左键。

| Add a new path | Add a new path point | Select a path point |
| 添加一条新路径 | 添加一个新的路径点 | 选中一个路径点 |
| ------------ | ------------ | ------------ |
| ![](/img/path_editing/add_path.png) | ![](/img/path_editing/add_path_point.png) | ![](/img/path_editing/select_path_point.png) |