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

How to make a drift system like this video ?

Discussion in 'Physics' started by qkrqntjd, Mar 9, 2019.

  1. qkrqntjd

    qkrqntjd

    Joined:
    Mar 4, 2017
    Posts:
    4


    This game seems to not slip because of inertia at the moment of drift.


    The moment you drift from the video
    1:
    When smoke is generated from the rear tires

    2:
    When the car curves, the left or right tires go up.

    so How do I make it?
    I need some ideas.
     
  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,497
    To me, that car looks like a CharacterController with strictly controlled movement and car animations based on the ground and the gameplay. I'd think more in a fast-paced runner than in a vehicle simulation.
     
    qkrqntjd and PetePand like this.
  3. MathewHI

    MathewHI

    Joined:
    Mar 29, 2016
    Posts:
    501
    When the right velocity magnitude reaches a determined value you can rotate the car on its x axis.
     
  4. qkrqntjd

    qkrqntjd

    Joined:
    Mar 4, 2017
    Posts:
    4
    I think
    If you hit the left arrow and start the drift ,
    Make a line perpendicular to the left of the center of the car,
    but the line is proportional to the car speed.

    and It seems to rotate the car based on the endpoint of the line starting from the car.