How do I create realistic drifting for a racer?

0 favourites
  • 2 posts
From the Asset Store
In 2D realistic stones are included high quality realistic 18 stones/rocks.
  • I am working on a top-down racer and I am having a hard time with getting the drift to work properly. I want cars to be able to drift around corners similar to Mario Kart, but the drift recover is kind of confusing. Does anyone have any ideas on how I can achieve this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Not sure what you find confusing about the drift recover. I'll try to make it more clear. The drift recover value is how quickly the direction the car is moving "catches up" to the angle the car is facing. What this means is, when the car is driving straight and turns to the right, it rotates its angle more quickly than the move direction changes. The default value for steer speed or the speed the car angle changes is, 225 degrees per second. The default drift recovery is 185 degrees per second. So, the default car object drifts and it takes almost a forth of a second for the car movement to match the angle of the car. To give the car a more noticable drift, you just need to set the drift recover value lower. A lower value makes the move dirction "catch up" slower so the drift lasts longer.

    Try this, create a brand new car object with all the default values. Then, change the drift recover value to 50 and test it out by driving in a circle. You should see a rather drastic drift.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)