https://github.com/akihiko47/character-controllers
Unity Character controller with animations.
https://github.com/akihiko47/character-controllers
animations character-controller unity
Last synced: about 1 year ago
JSON representation
Unity Character controller with animations.
- Host: GitHub
- URL: https://github.com/akihiko47/character-controllers
- Owner: akihiko47
- Created: 2024-07-05T14:08:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T23:30:02.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T04:30:07.239Z (over 1 year ago)
- Topics: animations, character-controller, unity
- Language: ShaderLab
- Homepage:
- Size: 27.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🏃 Unity Character Controller 🏃

In this repository, I implemented a character controller with animations and several camera modes.
This controller is based on Unity's built-in CharacterController.
Scripts implement movement relative to the surface normal, running, gravity, jumping, input space, and different kinds of cameras.
## Installation 🔧
There are 2 ways:
- import `CharacterController.unitypackage` via *Assets-Import* Package
- clone/download this repository and move the `Assets/Scripts/Character`, `Assets/Animations/Character` and `Assets/Prefabs/Character` folders to your Unity project's Assets folder
## Camera types 📷
You can add camera scripts from `Assets/Scripts/Character/Camera` to your camera GameObject and use them. Cams have settings such as sensitivity, smoothing time, bounds, ...
1) **Third-person**
2) **First-person**
## Animations 〰️
In folder `Assets/Animations/Character` you can find different animations for some character states. Right now animations graph looks like this:

## Usage 🎮
1) Add character prefab from `Assets/Prefabs/Character` to your scene
2) Add camera script to your main camera
3) Configure character and camera settings
I should note that this system works well with other humanoid character models.

Thank you for reading this 😊!