📅  最后修改于: 2022-03-11 14:48:50.809000             🧑  作者: Mango
Attach an empty GameObject to the GameObject and center it to the parent
Add a collider and resize to fit the GameObject
Assign the player and the empty GameObject to a layer
go to Edit > Project Settings > Physics
uncheck collision between player layer and empty collider layer