GameDev made easy with Ash dev
0:35
Пікірлер
@PkLearningpoint-hp4bw
@PkLearningpoint-hp4bw Күн бұрын
Please one video on physics based character controller in unity please 🙏
@echiko4932
@echiko4932 2 күн бұрын
Praying this one works properly for me. On the last kart controller i copied, the outwards force on the drift made the vehicle fly into the sky on the slightest ramp
@Joytrix
@Joytrix 3 күн бұрын
Very good 👍
@KillerE0944B.Gamning
@KillerE0944B.Gamning 3 күн бұрын
Very helpful tutorial ❤❤
@bytecodegames
@bytecodegames 9 күн бұрын
how i can setup top down view camera using your asset
@ashdev
@ashdev 9 күн бұрын
kzfaq.info/get/bejne/hMdyodmjzJrPkZc.htmlsi=728jqNXcU7E_YYzc&t=215
@bytecodegames
@bytecodegames 9 күн бұрын
@@ashdev thanks
@bytecodegames
@bytecodegames 9 күн бұрын
@@ashdev one more question is that when i set the vehicle using creator the wheels get outside the bumper but if i change the custom gravity the car starts to fly when speeding so how i can overcome this issue
@ashdev
@ashdev 9 күн бұрын
@@bytecodegames please send a video in my discord about the issue. also make sure to follow the tutorial and import the project settings. also try sphere cast suspension mentioned in video. custom gravity should be negative.
@bytecodegames
@bytecodegames 9 күн бұрын
@@ashdev yes i followed the tutorial and i will send you the video but the discord invite is expired or can't join
@echiko4932
@echiko4932 10 күн бұрын
oh brother this is _exactly_ what im after
@bluzenkk
@bluzenkk 12 күн бұрын
Excellent, yet i still dont quite get the interrupt part , sad. would like to see a use case of a praticall example.
@WORSTXD001
@WORSTXD001 12 күн бұрын
hey ASH DEV your character controller helped me a lot but i have a question regarding sensitivity how do i increase it???... plez help me
@TheSparkoi
@TheSparkoi 12 күн бұрын
nice tuto man !!! i love your work !
@PkLearningpoint-hp4bw
@PkLearningpoint-hp4bw 12 күн бұрын
Sir please one video on physics based character controller for unity please 🙏 I wait for your answer ❤️
@devseb
@devseb 12 күн бұрын
Love your content and assets!
@Joytrix
@Joytrix 12 күн бұрын
Excellent, thanks :)
@beefytime1374
@beefytime1374 13 күн бұрын
the turning thing was somethjing i was trying to figure out for like 30 mins and i finally decided to look a this video and its the first thing! 🤣
@krims254
@krims254 13 күн бұрын
what type of suspension logic are you using? looks arcady in a way. is it just damping x spring? or is there more to it?
@ashdev
@ashdev 13 күн бұрын
I explained in racing game guide series episode 3
@Mr.IN3V1T4BL3
@Mr.IN3V1T4BL3 13 күн бұрын
Hello , in my project the front wheel rotate and work nice but rear wheels are not rotating , they only rotate when I press W or S key . Pls help
@maan23363
@maan23363 13 күн бұрын
Which version are u using bro well it work in unity 2022
@WORSTXD001
@WORSTXD001 13 күн бұрын
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
@beefytime1374
@beefytime1374 14 күн бұрын
amazing
@NullVoider
@NullVoider 14 күн бұрын
When nested inside another GameObject, my sphere with a SphereCollider falls through the plane with a MeshCollider, but collides correctly when not nested.I'm such a noob, coming from web.dev(
@jackstacey8087
@jackstacey8087 16 күн бұрын
Hi, when I use the controller the character jumps up
@Imolex_Dev
@Imolex_Dev 17 күн бұрын
i wanna make a rally game does it works with it?🙂
@ashdev
@ashdev 17 күн бұрын
you can try the demo from description of the asset.
@Imolex_Dev
@Imolex_Dev 16 күн бұрын
@@ashdev tysm!
@eliaswennerberg8299
@eliaswennerberg8299 18 күн бұрын
Love the non-uniform naming conventions...
@Mr.IN3V1T4BL3
@Mr.IN3V1T4BL3 19 күн бұрын
Holy , awesome. Lost of words by your teaching .❤
@MenaAssets
@MenaAssets 20 күн бұрын
Hello!. Thank you for using my car in this tutorial series. I never fully understood the logic behind suspension logic using raycast; It was entertaining and educational to watch. I wish I had time to develop another car controller. Best regards!
@vaibhavjaiswal799
@vaibhavjaiswal799 22 күн бұрын
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 20 күн бұрын
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.
@kagunslinger767
@kagunslinger767 22 күн бұрын
Nice tutorial, as always !
@creative.outlet
@creative.outlet 22 күн бұрын
This was great! Thanks! Is there a reason why you didn't use the new Input System?
@ashdev
@ashdev 21 күн бұрын
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.
@Ollive24
@Ollive24 22 күн бұрын
best channel <3
@Hunter-X9211
@Hunter-X9211 22 күн бұрын
Hello, How can we add dash function in this code ??..
@ashdev
@ashdev 20 күн бұрын
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.
@AbdullahGameDev
@AbdullahGameDev 22 күн бұрын
Great video I would like to ask about the asset name you used in this video?
@ashdev
@ashdev 20 күн бұрын
What asset?
@AbdullahGameDev
@AbdullahGameDev 20 күн бұрын
@ashdev 9:34 the plane and cubes is that asset on unity asset store or you made it?
@TheSparkoi
@TheSparkoi 22 күн бұрын
im a big fan of all your work/script !!! Keep the good work ! lov u
@ragerungames
@ragerungames 22 күн бұрын
Nicely explained as always!
@jamestanubrata6782
@jamestanubrata6782 22 күн бұрын
Thats awesome, also how do you make when making character controller that is like animal like a dog or snake or bird
@ashdev
@ashdev 20 күн бұрын
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.
@StigDesign
@StigDesign 22 күн бұрын
Nice :D
@PhonicX
@PhonicX 27 күн бұрын
Best tutorial I have found so far, and I love the animated explanations!
@rankor6110
@rankor6110 27 күн бұрын
ok, you made the suspension of the car, but how do you make the wheel spin?
@ggwp8618
@ggwp8618 28 күн бұрын
Part 2 please. I learnt alot from this
@intrepidneon
@intrepidneon 29 күн бұрын
Do the joints handle the majority of your forces? I'm trying to design a wheel collider that I can network with client-side prediction, but I don't think I can easily network joints due to me not being able to extract their applied force values. I'm currently struggling to program a custom raycast wheel's friction, but if this approach is also fairly manual I might look into trying something like it.
@ashdev
@ashdev 29 күн бұрын
For this I used 3 rb for wheels connected with joints. One for rotating x, one for turning y, one for suspension y. It's bad setup. I worked on single wheel joint with custom wheel collider. But it has some issues. : twitter.com/ashdev_unity/status/1666881415563350016?t=TZHwv1cwGqWzBXk_6ws5kw&s=19 If you want to make raycast based then watch vehicle physics gdc talks. For my simcard vehicle physics asset I used logic from Rocket league and uncharted. You can check out it's demo.
@intrepidneon
@intrepidneon 23 күн бұрын
@@ashdev ​ Do you have any resources on the custom collision handling that you used for this collider? I'm looking into creating a sort of pseudo-physics joint where I hold location and velocity information about a point in the suspension. My current approach is to do a "ComputePenetration" looking one frame ahead by adding the summed velocity to its position in the computepenetration operation then applying the force necessary to have it in contact with the ground when that frame arrives. Unfortunately I am having some trouble with over/under compensation with these forces.
@Sammy3D
@Sammy3D Ай бұрын
i have some advice on how to make it brake around the corners basically each purple node has a speed data in it and basically the speed of the car lineally goes between the speed of the nodes so that the car can slow down around the corners and not go off track
@MuhammadOki
@MuhammadOki Ай бұрын
0:48 hey, thanks for using my model. that's a NASCAR car model.
@ashdev
@ashdev Ай бұрын
Its very good model pack.
@jordannobert2770
@jordannobert2770 Ай бұрын
One question...how would I make it so the car doesn't stick to the track when going around a loop? I want it to fall if it isn't going fast enough.
@AbdullahGameDev
@AbdullahGameDev Ай бұрын
your videos are truly amazing. keep it up 👍🏼
@jordannobert2770
@jordannobert2770 Ай бұрын
Out of all the car controller assets I've purchased to attempt to learn the best way to create an arcade car, this is hands-down the best. Thank you so much!
@anis_ab
@anis_ab Ай бұрын
This guy really deserves more visibility for his great content ❤
@invictusgamingff8010
@invictusgamingff8010 Ай бұрын
Can anyone explain how the camera is moving with bike(I am a beginner)
@fluffystuff
@fluffystuff Ай бұрын
Hey, please Make Mobile controls.please
@fluffystuff
@fluffystuff Ай бұрын
Nvm i figured it out💀
@Luluskuy
@Luluskuy Ай бұрын
So is this released now?
@ashdev
@ashdev Ай бұрын
Not this. This approach looks good at low speed. But at mid-high speed its unstable. So i worked on different bike physics. Its almost done. Very close to launch. You can check my discord / showcase/ash creations channel for progress
@random_precision_software
@random_precision_software Ай бұрын
I've just come across channel, I've subbed and looking forward to more videos!
@bluzenkk
@bluzenkk Ай бұрын
great vid. thanks! looking forward for your next cinemachine tutorial. could talk about the extensions and different use case of the other camera like dolly etc
@JurigGaming
@JurigGaming Ай бұрын
This is extremely helpful!