top of page
Search

[12/03/2021] Creating Car Movement

  • Writer: Daniel Henshaw
    Daniel Henshaw
  • Mar 12, 2021
  • 1 min read

Updated: May 19, 2021

After writing many scripts to create car movement I finally came up with a method that works. This car script had to include forward/backwards movement, left/right movement, Drifting and a Boost System. This was done using the wheel collider component built into the Unity Game Engine. This component needed a lot of tweaking to get a balanced experience. Too little friction and the car felt like it was on ice. Too much friction and the car was fast enough.


Demo:



Trello:


Car in hierarchy;


















Car in inspector:


 
 
 

Comentários


bottom of page