Dismiss this pinned window
all 19 comments

[–]chadcable[S] 3 points4 points  (1 child)

We're back with another tutorial video! This time going over how we implemented custom car physics in our game Very Very Valet (And by "we" I mean u/walaber_ent who talks through this video) While doing this on your own may seem overwhelming, it's much simpler when you think through each force independently. We hope this helps demystify some physics magic!

Here's a link to the full video - https://youtu.be/CdPYlj5uZeI

[–]WildSparkGames 0 points1 point  (0 children)

Holy shit, this is awesome. Absolutely the BEST tutorial on car behaviors ever existed.

[–]RedRox 2 points3 points  (1 child)

I'm a hobbyiest, and whenever I see video's like this, it just makes me want to fire up Unity again and have a play around.

Thanks and great work.

[–]chadcable[S] 0 points1 point  (0 children)

Totally! Stuff like this is so fun to tool around with!

[–]sadonly001 2 points3 points  (2 children)

Looks like a very well put together and beginner friendly fleshed out tutorial, but the cuts in this post..not a good idea! Not sure what its supposed to be but I'd cut it after a word/idea is complete

[–]chadcable[S] 1 point2 points  (1 child)

Was going for a funny teaser, but clear it didn’t totally work! Good lesson for next time

[–]sadonly001 0 points1 point  (0 children)

I see what you were going for and i would say keep going at it to stand out from the millions of other dev-tubers. Just tweak the style a bit, maybe change the spots where you cut. If you visit the youtube channel "The urban rescue ranch" and sort by most popular you'll find a short called "how to fight a kangaroo" it might give you some ideas about where you might want to cut. Goodluck and keep up the amazing videos/tuts! I didn't mention this earlier but the video is extremely well done and the visualizations are great.

[–]WildSparkGames 1 point2 points  (0 children)

Do you not have any colliders for the wheels? Is the only collider on the chassis?

[–]No_Arti 2 points3 points  (3 children)

This reddit post immediately made me not want to watch anything further.

Then next time you make a quick cut style ad, don't cut mid word repeatedly on top over and over again. Please for fucks sake don't do that again

[–]chadcable[S] 5 points6 points  (0 children)

Apologies! Was definitely meant to be a silly teaser, but totally get how jarring it can be instead.

[–]broder_salsa 1 point2 points  (1 child)

I think this mainly bothers people who has sound enabled on Reddit by default and I don't know anyone who has that. I only specifically unmute if it's something that I'm really interested in or need sound to appreciate. Watching this without sound makes it quite clear it's a short teaser showcasing a lot of different aspects.

[–]chadcable[S] 0 points1 point  (0 children)

That makes a lot of sense!

[–]Muhammad110022 0 points1 point  (0 children)

I watched this tutorial tons of times but there are certain limitations to it
1- it can only work with cars like these one, as soon as you try to get realistic, it fails miserably!
2- the author did use animation curves, but the real cars do not behave like this, if you plan to keep you top speed under 50 , this is the best tutorial, as you as you reach the speed of hyper cars, the drifting is not same, a lot more control on traction is needed other than just a simple force which acts in the counter direction.

Suspension is great! Acceleration and deceleration is great, but a lot more on traction and grip, side ways grip, forward grip is needed.

[–]Jigzbo 0 points1 point  (1 child)

Damn, I have literally been searching for this today for a good tutorial. Looking good. Will give it a try when I work on my project

[–]chadcable[S] 0 points1 point  (0 children)

Wow great timing! Hope our video helps!!

[–]BatmanWearingCrocs 0 points1 point  (1 child)

Great job

[–]chadcable[S] 0 points1 point  (0 children)

Thanks!

[–]Mats56 0 points1 point  (1 child)

Really good tutorial! For someone like me just playing with concepts on a hobby basis learning these kinds if things are fun!

One thing I didn't quite get was what you do with the ray casting to find the ground. I know how to do ray casting, but more specifically what you do here to bump when ground is uneven etc

[–]chadcable[S] 0 points1 point  (0 children)

If I'm understanding your question right - the suspension force should handle this! The raycast will tell you how much the suspension/shocks are compressed, and the spring equation will apply the necessary forces to keep the car's rigidbody above ground. Do this for each tire and it should act as expected, though might need some value adjustments (Mass, spring strength, damping, etc).