---
# System prepended metadata

title: '211026'

---

# 211026

重力固定，角色才不會飄移。
![](https://i.imgur.com/vBJneVd.jpg)

# 211102

**攝影機跟隨**
![](https://i.imgur.com/pczLr2z.png)

* **新增攝影機**

![](https://i.imgur.com/tpzOvTY.jpg)


1. 點選Cinemachine／Create 2D 
2. 背景物件新增 Polygon Collider 2D> 
 ![](https://i.imgur.com/i4iQesb.png)
Is Trigger 防止角色掉出
4. 
> ![](https://i.imgur.com/EfLbeIT.png)
 記得把背景物件拖入Bounding Shape2D
 
跟隨的對象也記得丟入角色物件，也可以調整跟隨的的視窗大小。 
![](https://i.imgur.com/RLWwGdQ.jpg)







