Erioifpuderio.hashnode.dev·Mar 27, 2024Unity 学习中遇到的问题问题:斜坡 tile 是 16x16 的,Tilemap Collider 把每一个像素都算进了碰撞箱,让斜坡变成了“阶梯”,怎么处理? 解答:可以用 Composite Collider 来合并碰撞体: 在 Tilemap Collider 中勾选 “Used By Composite”,表示允许用作合并 在 Composite Collider 中调整 "Geometry Type” 和 "Vertex Distance” 来控制合并后的碰撞体的形状和平滑度 Geometry Type...学习笔记Add a thoughtful commentNo comments yetBe the first to start the conversation.