📜  字符控制器 unity isGrounded 为假 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:51.151000             🧑  作者: Mango

代码示例1
The reason why your isGrounded is always false, is because you are checking it before you apply gravity, it is therefore not grounded at that point. Then you apply gravity and it becomes grounded. Whenever using the character controller, you should also never call . Move more than once per frame