CharacterControllerをPlayerに追加します。しかし、私がジャンプ関数をテストすると、Playerがすぐに上に移動することがわかります。Unity3Dでスムーズにジャンプする方法
if (Player.isGrounded)
{
if (jump)
{
Move.y = JumpSpeed;
jump = false;
Player.Move (Move * Time.deltaTime);
}
}
Move += Physics.gravity * Time.deltaTime * 4f;
Player.Move (Move * Time.fixedDeltaTime);`
より広いコードサンプルが役に立ちます。このスニペットはFixedUpdate()にありますか?プレーヤーのゲームオブジェクトにリジッドボディーが取り付けられていますか? – Augure