Super nice work on this! The game looks so juicy with the driving! Glad to know it's not just me who has worked on a car game without really understanding cars!
@ObviousDev2 жыл бұрын
Thaank you :) Yeah - I think virtual arcade cars are more fun anyways!
@GamesBySaul2 жыл бұрын
@@ObviousDev Absolutely agree with you on that one! :D
@ansettaustralia Жыл бұрын
Can you do a tutorial, or release the code for the raycast physics? @@ObviousDev
@ashdev2 жыл бұрын
using drag on rigidbody will result in stopping car instantly. instead of that you can use dragfroce = -D*V. D is damperAmount(constant) and v is velocity in spring direction. you can add this in spring force and that will be your suspension force. Vector3 springDir = transform.up; Vector3 tireWorldVel = carRigidBody.GetPointVelocity(transform.position); float offset = suspensionRestDist - hit.distance; float suspensionVel = Vector3.Dot(springDir, tireWorldVel); float force = (offset * springStrength) - (suspensionVel * springDamper); carRigidBody.AddForceAtPosition(springDir * force, transform.position);
@ashdev2 жыл бұрын
or try this video : kzbin.info/www/bejne/npOwYmtpjMaMopY
@kumagatz Жыл бұрын
I love this, very Micro machines. Superb work!
@Skeffles2 жыл бұрын
Fantastic to see you making something new! This racer looks great.
@pohyart2 жыл бұрын
I really struggle with the controls. When a car is moving slowly, it should turn fast. Also corners are really unpredictable for me. I found myself holding down the drift button and driving like that. Nice work finishing up the project and releasing it!
@Bergbauer224 ай бұрын
Really nice work my friend.
@bahrainhasnan Жыл бұрын
Inspiring and thank you for sharing the thought behind the process!
@MaffuMakes Жыл бұрын
So good to know there's other people who don't know about car physics as well! Gosh, this helped me out so much. Thank you very much, Pascal! Amazing video, and an amazing demonstration. Really appreciate that you shared where you learned about arcade physics.
@moldymoss39912 жыл бұрын
I’m really liking this, when the car goes of the ramp it doesn’t seem to land how it should though. I’d like to see more of this.
@bini4202 жыл бұрын
would love to see more of this
@FuZZbaLLbee Жыл бұрын
Nice, a friend of mine used the same Unreal physics video to make a similar car in Unity. There are also people who just use a rolling ball as a car and project the car on top.
@SamarthCat2 жыл бұрын
I think it would be cool if you make this open source. So that people can contribute and improve on it. Other than that, it's pretty epic!
@Glados44 Жыл бұрын
true
@eboatwright_2 жыл бұрын
Looks great! I love the smoke particles and sounds
@CreatorOblivion2 жыл бұрын
I would absolutely love to see multiplayer introduced to something like this. And if you wouldn't mind sharing even a small part of any tutorial for this, that would be incredible!
@blinkachu5275 Жыл бұрын
Hmm, overall pretty good, but adding the drag itself is not a good solution to making the springs behave. The springs being unstable have to do with the math behind them, adding drag is basically a bandaid that has other negative effects like the way the rigidbody now moves through the air. There are some good videos out there on how to tackle springs for cars ^^ I recommend watching a few so you can set drag back to 0 and have proper spring function, that would make it feel even better!
@ObviousDev Жыл бұрын
Oh interesting! Thanks a lot, I'll check those out :)
@funreloadedgamedev2 жыл бұрын
Nice devlog and racing game😀👍, seeing your devlog helps me in my gamedev, somehow. Your devlogs are good. I am also a game developer.
@Vetinari-x3nАй бұрын
Great job!
@Zer0Flash2 жыл бұрын
i would love a multiplayer for this to completely destroy my friends in it
@licencetocalvin86582 жыл бұрын
Great video. I tried to do the car physics a similar way some time ago but couldn't get it feeling right for me 😅 You did some awesome work there, and I like that truck you made
@daa29109 ай бұрын
About Drifting I known, every object has two frction. kineticfriction(for sliding surface) and static friction(of course not sliding face) generically static friction is more higher. if car wheel rolling as car speed, wheel roll whitiout slip(at whell touch ground point). so wheel has (powerful) stop friction and it make stop slip sideway but wheel is slow or stop rolling(commonly use break) wheel is slip with weaker kinetic friction, than car can more slip sideway and rotation more wide range.
@xXYannuschXx4 ай бұрын
One thing thats missing is some body roll: have the car lean back during acceleration, forward during braking, side to side during corners. Should greatly improve the feeling of the car.
@kaseopea2 жыл бұрын
Nice. Someday I will follow the same path) Would be super-happy for more detailed tutorial)
@juanmacias59222 жыл бұрын
This was awesome!
@BlueGooGames2 жыл бұрын
Supercool! Makes me want to make a racing game 😀
@gamedevaki2 жыл бұрын
3:30 Love the Initial D reference!
@GreenBlueWalkthrough2 жыл бұрын
Thinking about it yeah that's how the majority of vehicles games work even realitic games and sims... Notble excations are KSP, X-plane, R-factor 2 and uh that's all I got right now.
@Oscar97o Жыл бұрын
As far as racing games go, you can add pretty much every racing sim, all the games developed by Bugbear Entertainment, BeamNG Drive, MudRunner and its sequels, and probably quite a few "realistic-ish" arcade racing games like the The Crew series, which I believe do simulate wheels and suspensions, just with a ton of aids tacked on. GTA IV is a very good example of arcade driving with realistic physics too.
@AXISMotionStudio2 жыл бұрын
3:24 How did you made the transition effect work
@ObviousDev2 жыл бұрын
I have two materials with a transparency value, one for the car and one for the "box" and then I just tween the transparency values 0=>1 | 1=>0 based on the given state :)
@AXISMotionStudio2 жыл бұрын
@@ObviousDev thank you for the reply. Are you using standard materials
@ObviousDev2 жыл бұрын
@@AXISMotionStudio Na I made them via Shader Graph. I had some transparency issues with the car using the standard shader. The method I'm using now is dither-transparency. This is the tutorial I followed: kzbin.info/www/bejne/jHiQhqtuh62ApaM
@Timothymukansi2 жыл бұрын
Awesome job!
@rainingBrackets2 жыл бұрын
Don't get me wrong, I don't think Exo Colony is bad but I really enjoyed this different type of video, more than the typical devlogs and this game turned out really cool! In fact it would be awesome to see you do another video on this game or at least this type of short side project
@MyLastingMemories2 жыл бұрын
Dev, we are building in the Metaverse in Upland, and we need a volunteer unity developer on our team. How's your virtual property portfolio? Lets talk about your future in the Real Node LA in the Metaverse.
@animagnoa Жыл бұрын
is the black material on the floor some kind of free asset?
@filipe_lopes2 жыл бұрын
Love the track implementation! Any tips on how to toggle the visibility of the tiles?
@AvexFuddle2 жыл бұрын
This is so good, I don’t believe it’s that simple though 😅👍
@Dubscr9 ай бұрын
I love this~!
@razorree11 күн бұрын
Do you have some materials about driving physics and how to implement it ? (a bit of source code? :) )
@TruckerJoeOfficial Жыл бұрын
Super Tutorial, can you show how you made the steering?
@AlessandroCecconi2 жыл бұрын
I've always wanted to make a Sugar Rush fan game and this video is kinda making me wanna try it now except I can't model and have absolutely zero idea of how to use Unity or Unreal Engine (and I have no idea how to code lol) and definitely do not have the patience to put myself through tutorials lol but thanks for the inspiration
@user-nJ2up5mo4t2 жыл бұрын
heads up if modifier bool tool is broken don't go preferences and click bool tool in editor tab cause unity cant see its cuts you have to use knife tool. hope i expanded it okay but it also could of just been way I export in to unity.
@bitbenthegamedeveloper902 жыл бұрын
Really cool prototype! I also always wanted to make my own arcade racer maybe one day I will! Love also that it is less simulation heavy and more plain fun! How actually did you use the Unity grid map? Is it like Unitys 2D Tilemap?
@ObviousDev2 жыл бұрын
Yeah it's Unitys Tilemap feature and I just spawn prefabs using the rule tile (since the prefab brush was removed for some reasons :( )
@rogerbusquetsduran55962 жыл бұрын
Amazing! I've been trying to do something similar myself. Struggling with preventing drifting, is it posible to share code for the controller?
@GreenBlueWalkthrough2 жыл бұрын
Also looks fun and you could make a more serous small like $5 project of of it if you just add more tracks for 3 hours of content or so.
@amirhm64592 жыл бұрын
Why not use Unity wheel coliders? I think it is much simpler to create and have more settings to tweak specific for the car behaviors than spring physics
@ObviousDev2 жыл бұрын
Mostly because I found the raycast spring idea much more interesting :) I always try to find angles which are interesting for me when I approach these smaller prototype games. Since the idea is not to develop the very best game but to learn a lot and present that in a video it did fit this approach very suitable. But thanks for the advice and I might give wheel colliders a go in the future!
@caruya Жыл бұрын
How did you got the skid trails to not follow you and actually stay on the road, I havent figured that out. Thanks
@ObviousDev Жыл бұрын
I'd have to look for the exact setting, but mainly it's about spawning the trail renderer points in world space
@ZTF6662 жыл бұрын
i love it !
@felipegomez50272 жыл бұрын
Hello. First of all, awesome video. Secondly, I am new in unity and it would be very helpful if I could get access to the proyect or the scripts. Thank you very much
@KBforJesusChrist Жыл бұрын
Make a tutorial for obstacles and track spawning please @ObviousDev
@janikcodes2 жыл бұрын
Can you maybe explain how you made that fade in/out effect? Im developing an RTS and I haven’t found a good way yet to fade in/out kind of like a fog of war?
@MohamedKamal-jz5oz2 жыл бұрын
May I know how you made the blocks appear as you do? the ones who are close to your car
@leaf46452 жыл бұрын
How did you do the fog? I have been trying to do this look for a while and i haven't figure it out. (edit) I know not your style but a tutorial on the car physics? also amazing video! and game!
@ObviousDev2 жыл бұрын
Do you mean the "dust" particles around the car? Those are just plain unity3d particle effects. Regarding the car physics, I recommend the video I'm talking about in the video: kzbin.info/www/bejne/gniUdKeie7egprc
@leaf46452 жыл бұрын
@@ObviousDev Yeah sorry meant dust! thanks for the response! sorry for the confusing questions.
@ObviousDev2 жыл бұрын
@@leaf4645 No problem :) Glad you liked the video!
@AlouaneZayna24 күн бұрын
The tutorials
@user-nJ2up5mo4t2 жыл бұрын
by way can make simple tutorial on particle system trailing a object like car for use
@elib14212 жыл бұрын
please tell me you are still working on exocolony... really looking forward to the next dev log. they are so inspirational
@ObviousDev2 жыл бұрын
Yes, I am! Next devlog is in the making. But Overall expect more of a 70% of devlogs like this and 30% exo colony, since exo colony needs a lot of boring refactoring and reworks :) I'll explain that in the upcoming Video!
@elib14212 жыл бұрын
@@ObviousDev Danke für deine Antwort! Freut mich sehr, dass du noch an exo colony arbeitest. Ich habe selbst immer damit zu kämpfen, dass ich meine games nicht aufgebe... deine dev logs sind sehr inspirierend und motivierend für mich und als factorio fan gefällt mir das konzept exo colony sehr. Dein pixel art ist super cool. Alles Liebe aus Österreich!
@NotBubZ Жыл бұрын
dude this is awesome! im fascinated by the way you handled this (or i guess the way the unreal people did). i do have one question: how did you find out what counterforce to add to make it stop drifting?
@DinciAnimation Жыл бұрын
plz man tell me bro hac cai just make a ui button witch rotate my car backward and forward
@ansettaustralia Жыл бұрын
Any chance of realising the code?
@springcar Жыл бұрын
I like better fun car driving jumping physics, and join teaming to create games with UNREAL Engine also :) hello how you like create ?
@jtinz74 Жыл бұрын
Why not use WheelColliders?
@TheXSpitfire2 жыл бұрын
If you park your car on a slope, so that the left wheels are higher than the right...does your "anti drift" stop it from sliding down side ways?
@ObviousDev2 жыл бұрын
Not sure tbh, I'd have to take a look at my implementation. But I think no, because the anti drift should be only active if there is acceleration input
@TheXSpitfire2 жыл бұрын
@@ObviousDev I have a similar setup to yours. But if the road is angled around the Z axis, the car slides side ways down the hill slowly. Like the x component is not canceled out 100%. Must have some mistake somewhere.
@Erkle64 Жыл бұрын
@@TheXSpitfire It's because you're simulating dynamic friction without static friction. Most arcade driving physics involves simulating one without the other.
@andre200262 жыл бұрын
how did you make the track blocks appear with that smooth animation, shaders?
@ObviousDev2 жыл бұрын
Yeah, transparency shader and then just tweening with a nice curve :)
@Shivani_thakur011592 жыл бұрын
Plz make a detail video
@gamedevaki2 жыл бұрын
5:00 the map somehows reminds me of Jojo 🤣
@Hyjk872 жыл бұрын
I'd love to see a tutorial to achieve something like this...I don't know where to start :(
@user-nJ2up5mo4t2 жыл бұрын
2:00 I did same thing to day and blamed on script lol I made
@Zer0Flash2 жыл бұрын
niceee
@bitbraindev2 жыл бұрын
🏎🏎🏎🏎
@naturewaving38972 жыл бұрын
Haha vrum
@yoav8893 Жыл бұрын
its feels good but the camera isn't that good, I think a better camera is a camera that just follows the car from behind
@Oscar97o Жыл бұрын
I think the main inspiration was MicroMachines, which has always had this kind of top down camera.
@OwenHodges2 жыл бұрын
How long did this project take?
@ObviousDev2 жыл бұрын
I did not count the hours.. ~2 months but I only worked on the weekends for maybe 3-4 hours every day
@Shivani_thakur011592 жыл бұрын
Make a detail video
@arpan91332 жыл бұрын
I need source code please ☹️
@vyse-sen2 жыл бұрын
please make a tutorial for this
@opusdei11519 ай бұрын
Can I steal your idea :D
@39mup2 жыл бұрын
@Nodsaibot2 жыл бұрын
an indie game that is not minecraft/zelda ? lol thats crazy
@--Arthur2 жыл бұрын
Calling Rocket League a racing game is like calling Counter-Strike a life simulator🤷♂
@ObviousDev2 жыл бұрын
Haha, okay. Fair enough! (In the context of arcade racing control mechanics the comparison still holds up imho)