Це відео не доступне.
Перепрошуємо.
Arcade Car Controller Part 2 | Movement tutorial Unity | AshDev
Вставка
- Опубліковано 19 сер 2024
- Learn how to create an arcade-style car controller in Unity! This tutorial covers movement logic, offers valuable insights for game developers. Subscribe for for useful tutorials in future.
#carcontroller #gamedevelopment #tutorial #unity3d
-------------------------------------------------------------------------
Join Discord : / discord
Email : ashdevbiz@gmail.com
Arcade car controller asset: assetstore.uni...
-------------------------------------------------------------------------
Check out my assets : -
1.Ash Vehicle physics
assetstore.uni...
2.Ash vehicle AI
assetstore.uni...
3.Sim-cade Vehicle Physics
assetstore.uni...
5.Arcade vehicle AI
assetstore.uni...
6.Ash Monster Truck Physics
assetstore.uni...
7.Arcade Bike Physics
assetstore.uni...
#unity3d #gamedevelopment #indiegamedev #racing #madewithunity #asset #unity #gamedev #vehiclephysics #vehicle #physics #drift #carcontroller
one mistake happened while recording the tutorial, the turn logic isn't correct so, replace it with this:
rb.AddRelativeTorque (steerStrength * steerInput * turning curve.Evaluate(Mathf.Abs(carVelocityRatio)) * Mathf.Sign(carVelocityRatio) * rb.transform.up, ForceMode.Acceleration);
Use the Absolute Value of Car Velocity Ratio with the Turning Curve
Aproved again, hope to have a grip and drift tutorial and a slip one too, very nice work ash, continue❤
AshDev... Nice Tutorial...
Thanks for the tutorial, I just finished this part and put mobile controls on it.
Keep it Up 🙌
hey I just noticed that max speed is not working, the machine can exceed max speed, I also tried to check on the original code on discord
now I fixed it
insta like, no doubt
Thank you.
Nice ❤
For me it doesn't move, seems like not listening to GetAxis. I dom't know why
Check if the axis name is spelled correctly, if it is then share your script in our discord server, someone will help you out
Hey this absolute the best tutorial but idk why, my car is constantly moving, when I am slow down the cars moves really really slow forward or backward but it don’t break
Join our discord server, and share what's happening
did u find a fix?....mine's moving too
@@ngangamhaolai4058 mine too
🎉
Tyyyyyyy
OMG
😮🎉
I commented the deceleration function and it worked fine but when without commenting it....the vehicle wont move at all. So what is the use of deceleration function if the code works fine even without it?
Deceleration is for how fast your car will stop, its being applied automatically and in the last part of the series (Bonus part) we made some changes in the deceleration function so, watch the full series first, and if your car isn't moving then be sure that your acceleration value you set is higher than the deceleration value.
Hell Yeah