Publisher | Conrado Saud |
---|---|
File size | 9.20MB |
Number of files | 18 |
Latest version | 1 |
Latest release date | 2024-04-08 04:46:14 |
First release date | 2024-04-08 04:46:14 |
Supported Unity versions | 2018.4.2 or higher |
The EasyStart Third Person Controller 🎮 is the perfect solution for developers who want to create third-person games in Unity quickly and effortlessly.
This package offers a simplified approach to implementing character and camera controls in third-person games in Unity. The codes are structured in a simple and intuitive way, allowing you to continue developing your game with ease, without the need to delve deeply into the provided codes, as they are basic and easy to modularize. Whatever your level of experience, the EasyStart Third Person Controller is an accessible and user-friendly option to streamline your project, so you don't waste time creating your character's controls.
Included Features
🛠️ Character Prefab with Basic Movement Controls
- Movement with arrow keys or WASD (left analog stick for joysticks)
- Jumping with the space bar (button Y)
- Crouching with the Ctrl key (button B)
- Running with the Shift key (button X)
🎥 Third Person Camera Control
- Free mouse movement (right stick for joysticks)
- Option for camera movement only when the right mouse button is pressed (not available for joysticks)
📝 Only Two Scripts: Basic and Simple
This package creates all third-person controls using only two scripts: one for the camera (CameraController.cs) and the other for the player (ThirdPersonController.cs). Both scripts are straightforward and use an easy-to-understand language. You can use them to continue your game's script as you wish or simply learn from them how to create your own movement.
🔎 Commented Scripts
Additionally, there are alternative scripts for the camera and movements. In the Commented folder within Scripts, you'll find CommentedCameraController.csand CommentedThirdPersonController.cs. These scripts have slightly extensive comments, explaining in detail how each line of code works. Great for beginners! I wrote them in a didactic way to teach exactly how each command works. It's worth reading.
How to Use
The prefab and template used in this project are intended only as tests so that you can experiment with the functionality of the scripts in this package. They should not be used in your project, but only the scripts.
To use EasyStart Third Person Controller in your personal project, follow these steps:
🦸 Character
- Create an object in your game that will be your player. It is recommended that you do this directly with the character model that will be played. Name it whatever you want
- Add the Player tag to it
- Add the Character Controller component and adjust the collider
- Add the ThirdPersonController.cs script
Ready! Your character is now ready to play.
However, you still need to add animations so that your character has interactions between movements. For this, you can download animations for free from Mixamo. For animations, do the following:
- Add the Animator component to your player
- Create an Animator Controller file (right click on your project window > Create > Animator Controller) and attach it to your character's Animator component
You will need animations for: walking, running, jumping, crouching and crouch walking. These animations can be downloaded for free from Mixamo and imported into your project. After that, open the Animator Controller you created and copy the same animation scheme used in this package, which is located in EasyStart Third Person Controller/Prefabs/Animations/ PlayerAnimator.controller
After that, everything should be working according to the animations you chose.
Note: the animations in this project do not follow the Rigs created by Mixamo, so they may not work in your game if you copy them to your project.
📹 Camera
For the camera, it's even easier! Just add the CameraController.prefab to your project, located in the Prefabs folder. That's it! Just remember to delete the original MainCamera from your scene and keep only the camera imported from this package.
See the technical specifications for more details.
Open Source on GitHub
This package is also available as open source on GitHub for you to explore and contribute, click here.
🌟 Rate this package on the Unity Asset Store!
Enjoy the EasyStart Third Person Controller, it's free and always will be!🚀