Skip to content

m4xed0ut/CarController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

CarController

Second go at writing a vehicle controller from the ground up using C# and Unity.

This one's a simple Arcade car controller that only needs a single rigidbody component with a box collider and two target force objects, one in front, one next to the car, and where the wheels that the script animates are just transforms. The Raycast disables the car's input and its forces when it's not grounded.

Controls

Up Arrow - Throttle

Down Arrow - Brakes

Left, Right Arrow - Steering

Space - Handbrake

About

Second go at writing a vehicle controller using C# and Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages