Jumping with a Character Controller

NOTE: This script is no longer necessary in AC v1.74.0 or later.

This script allows you to jump when the Player character has a Character Controller.

To use it, create a new C# script named CCJump, paste in the code below, and attach to the Player.

To animate the character while jumping, optionally define a new Trigger parameter in the Animator, and enter its name into the Inspector's "Jump Trigger" field.

CCJump.cs: