A simple and flexible character controller for Unity, designed for quick integration and easy customization. Ideal for prototyping or building full games with smooth player movement.
- 🎮 Smooth player movement
- 🕹️ Easy to integrate into any Unity project
- ⚙️ Customizable parameters (speed, jump, etc.)
- 🧩 Modular and clean code structure
- 🚀 Lightweight and beginner-friendly
-
Clone the repository:
git clone https://github.com/notahek/ahek-character-controller.git
-
Open your Unity project
-
Import the package:
- Copy the files into your
Assetsfolder or - Use Unity Package Import (if provided)
- Copy the files into your
-
Add the character prefab or script to your player object
-
Configure settings in the Inspector:
- Motion state for each state you define.
- Jump Force.
- Gravity scale.
- Enable/Disable any form of motion.
-
Press Play
▶️
| Action | Key |
|---|---|
| Move | WASD |
| Jump | Space |
| Look Around | Mouse |
| Crouch | Lctrl |
| Sprint | Lshift |
(Modify controls as per your input system)
You can easily modify:
- Movement logic
- Input system (Old / New Input System)
- Camera behavior
- Physics settings
Character controllers are a core part of most games, providing movement systems such as walking, jumping, and interaction. Unity offers built-in options, but custom controllers give more flexibility and control over gameplay behavior.
Contributions are welcome!
- Fork the repo
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is licensed under the MIT License (or your chosen license).
If you like this project, consider giving it a ⭐ on GitHub!
Created by @notahek Feel free to reach out for feedback or collaboration!