Character Controller Tutorial in Unity | AshDev

  Рет қаралды 2,045

Ash Dev

Ash Dev

Күн бұрын

In this tutorial, learn how to create Character controller or player controller in Unity from scratch for your 3D game projects. We will create basic movement, jump, sprint and follow camera with step-by-step instructions and tips to enhance your game development skills.
Cinemachine Free look camera tutorial: • Orbital and Free look ...
-------------------------------------------------------------------------
Join Discord : / discord
Patreon : patreon.com/AshDev815?...
Email : ashdevbiz@gmail.com
-------------------------------------------------------------------------
Check out my assets : -
1.Ash Vehicle physics
assetstore.unity.com/packages...
2.Ash vehicle AI
assetstore.unity.com/packages...
3.Sim-cade Vehicle Physics
assetstore.unity.com/packages...
4.Arcade Vehicle Physics
assetstore.unity.com/packages...
5.Arcade vehicle AI
assetstore.unity.com/packages...
6.Ash Monster Truck Physics
assetstore.unity.com/packages...
7.Arcade Bike Physics
assetstore.unity.com/packages...
Chapters:
00:00 - Intro
00:22 - types of Character controllers
01:13 - setup
02:02 - movement code
05:19 - camera
09:33 - gravity
11:00 - jump
11:46 - sprint
13:12 - component settings
14:47 - outro
#unity3d​​ #gamedevelopment​​ #indiegamedev ​​#racing​​ #madewithunity​​ #asset #unity #gamedev #vehiclephysics #vehicle #physics #drift #carcontroller

Пікірлер: 19
@JayRKID
@JayRKID 9 сағат бұрын
Looking forward to the animation update :)
@ragerungames
@ragerungames Ай бұрын
Nicely explained as always!
@TheSparkoi
@TheSparkoi Ай бұрын
im a big fan of all your work/script !!! Keep the good work ! lov u
@kagunslinger767
@kagunslinger767 Ай бұрын
Nice tutorial, as always !
@Ollive24
@Ollive24 Ай бұрын
best channel
@StigDesign
@StigDesign Ай бұрын
Nice :D
@Hunter-X9211
@Hunter-X9211 Ай бұрын
Hello, How can we add dash function in this code ??..
@ashdev
@ashdev 29 күн бұрын
Just like sprinting, you can create a different speed and and set the current speed to that for your appropriate dash time and trigger it through some button (For basic approach). And then, add some kind of cool down timer so that, the player doesn't keeps on moving with the dash speed.
@jamestanubrata6782
@jamestanubrata6782 Ай бұрын
Thats awesome, also how do you make when making character controller that is like animal like a dog or snake or bird
@ashdev
@ashdev 29 күн бұрын
For basic one, it's the same, the difference will only be in the animations. (For dogs, cats etc). But you won't be able to use the built in character controller because of the capsule collider you have to create a custom one but the approach will be same.
@jackstacey8087
@jackstacey8087 26 күн бұрын
Hi, when I use the controller the character jumps up
@vaibhavjaiswal799
@vaibhavjaiswal799 Ай бұрын
I have a question. So you said you will use kinematic approach and use Character controller component. So what's the difference if we use character controller component or Rigidbody with kinematic checkbox set to true...?
@ashdev
@ashdev 29 күн бұрын
It's more complex hence prone to errors and less efficient. You have to code each and everything. It's recommended to use, if you want to do some physics calculations or collision detections etc. It's in between of using a fully physics based character controller and going with fully kinematic one (like built in character controller component). Built in character controller is more efficient and already has basic functionalities. These are all the things to consider before choosing one.
@WORSTXD001
@WORSTXD001 23 күн бұрын
hey Ash Dev, when i wrote the player controller script and loaded unity again it was showing a error saying Assets\player controller(38,25):error CS1002: ; expected what do i do now please help me
@AbdullahGameDev
@AbdullahGameDev Ай бұрын
Great video I would like to ask about the asset name you used in this video?
@ashdev
@ashdev 29 күн бұрын
What asset?
@AbdullahGameDev
@AbdullahGameDev 29 күн бұрын
@ashdev 9:34 the plane and cubes is that asset on unity asset store or you made it?
@creative.outlet
@creative.outlet Ай бұрын
This was great! Thanks! Is there a reason why you didn't use the new Input System?
@ashdev
@ashdev Ай бұрын
New input system is a whole different topic to explain, and it's not a good idea to explain two different things simultaneously. We'll cover it in some future tutorial.
Unity Tutorial (2021) - Making the Player Attack
7:07
Modding by Kaupenjoe
Рет қаралды 43 М.
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 602 М.
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 62 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 3,3 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 54 МЛН
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 417 М.
What does a Game Engine actually do?
16:45
Ellie Rasmussen
Рет қаралды 139 М.
How to Move Characters In Unity 3D | Character Controllers Explained
9:46
How I would approach gamedev (if I had to start over)
18:34
BiteMe Games
Рет қаралды 70 М.
Unity Custom Template in 5 min
7:09
Fist Full of Shrimp
Рет қаралды 9 М.
Skins from the FUN&SUN collection | Standoff 2 (0.29.0)
1:10
Standoff 2 Live
Рет қаралды 1,2 МЛН
😱ЭТОГО ТЫ ТОЧНО НЕ ЗНАЛ О KinitoPET 2
11:26
Вилли
Рет қаралды 1 МЛН
ПАУ КЕК ҚАЙТАРМАҚШЫ
12:59
Armani -KazakhHL-
Рет қаралды 27 М.