Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Car controller

Discussion in 'Scripting' started by GameDev_PL, Aug 3, 2020.

  1. GameDev_PL

    GameDev_PL

    Joined:
    Nov 14, 2016
    Posts:
    4
    I want to make endless racing game I have problem with player car controller .I want the car move to left and right fast .but when use translate car moving is unrealistic I want some effect like suspension how can I do this.
    Something like this
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    That is a completely-finished commercial game with probably a few hundred hours of engineering and testing work towards the car suspension, the camera, the lean of the car, etc.

    Part of the problem is figuring out what is even happening in the game, between the camera lean, the car lean, any skidding etc.

    You need to start small, build up. Start perhaps with either a basic car tutorial or some example code, and begin to experiment with all the settings, understand how they work, understand how they scale with speed, etc.

    Once you have something working, focus on the next part: suspension, camera, one step at a time. Every car system is going to be completely different depending on the engineering assumptions you use to develop it.
     
    GameDev_PL likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    GameDev_PL likes this.