Преглед на файлове

Merge branch 'master' of https://github.com/defold/doc

Björn Ritzl преди 4 години
родител
ревизия
b349fff05a
променени са 2 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 4 4
      docs/zh/manuals/physics.md
  2. 1 1
      docs/zh/manuals/project-settings.md

+ 4 - 4
docs/zh/manuals/physics.md

@@ -29,10 +29,10 @@ Triggers
 
 在游戏对象上添加碰撞对象组件:
 
-1. In the *Outline* view, <kbd>right click</kbd> the game object and select <kbd>Add Component ▸ Collision Object</kbd> from the context menu. This creates a new component with no shapes.
-2. <kbd>Right click</kbd> the new component and select <kbd>Add Shape ▸ Box / Capsule / Sphere</kbd>. This adds a new shape to the collision object component. You can add any number of shapes to the component. You can also use a tilemap or a convex hull to define the shape of the physics object.
-3. Use the move, rotate and scale tools to edit the shapes.
-4. Select the component in the *Outline* and edit the collision object's *Properties*.
+1. 在 *大綱* 視圖中, <kbd>右鍵點擊</kbd> 游戲對象然後在上下文菜單中選擇 <kbd>Add Component ▸ Collision Object</kbd>. 新添加的組件沒有形狀.
+2. 在組件上 <kbd>右鍵點擊</kbd> 然後選擇 <kbd>Add Shape ▸ Box / Capsule / Sphere</kbd>. 來為組件添加形狀. 一個組件可以有多個形狀. 還可以使用瓷磚地圖或者凸多邊形頂點文件定義物理對象的形狀.
+3. 可以使用移動, 旋轉, 縮放工具修改形狀.
+4. 點選組件后可在 *大綱* 視圖中編輯其 *屬性*.
 
 ![Physics collision object](images/physics/collision_object.png){srcset="images/physics/[email protected] 2x"}
 

+ 1 - 1
docs/zh/manuals/project-settings.md

@@ -494,7 +494,7 @@ local my_value = tonumber(sys.get_config("test.my_value"))
 目前, Defold 在初始化时查询屏幕刷新率并且把它作为固定 `dt` 的依据. 如果你需要支持可变刷新率 (比如 GSync 或者 FreeSync) 或者其他刷新率不是很有参考性的情况下, 关闭 `Vsync`来使引擎测量每帧实际 `dt` 而不是固定dt.
 
 
-### Defold 中的垂直同步与帧数锁定*
+### Defold 中的垂直同步与帧数锁定
 
 <table>
   <tr>