Assetto Corsa Conversion
  • How to convert a car
  • The basics
    • Knowing how to use Content Manager
    • How to extract the car
    • Make a car drivable in Assetto Corsa
    • Export the car as kn5
    • Adjusting the car to the physics
  • Animation
    • Suspension
    • DRS
    • Wing flex
    • Driver animation
  • Changing the car look
    • Decals
    • Making the car look good
  • miscellaneous
    • Skins
    • Driver position
    • Dash
    • Mirrors
  • CSP features
    • TyresFX
    • Decrypt Rfactor mods
Powered by GitBook
On this page
  • Lazy way
  • The correct way to do DIR_
  1. Animation

Suspension

PreviousAdjusting the car to the physicsNextDRS

Last updated 2 years ago

Driving an F1 car with stiff suspension gives a weird feeling, so let's animate those with DIR. You can also animate them using fbx animation, but DIR_ is superior for the suspension.

3DSmax users have a DIR_ helper tool, which we don't have in Blender. It's not much of a problem, you just won't be able to see if how you did your DIR_ is correct or not until you go into the game.

How does DIR_ work? It's simple

DIR_SUSP1 is the empty whose origin will be the point which the X axis of the empty SUSP1 will point toward. If DIR_SUSP1 moves down, then SUSP1 will rotate so that its X-axis still points toward the center of DIR_SUSP1. It does not matter how the DIR_SUSP1 is rotated as only the center is considered. In our example, you can see that there is a little head parented to the empty. So when the empty rotates, then the head too rotates. This is what we will take advantage of to animate the suspension.

As for the naming, the DIR prefix must be added to the name of the empty that is the parent of the object you want to animate. If the empty is called SUSP1, then the DIR is DIR_SUSP1. As for how we parent both empties, we will see that in the example below.

You can either do it the lazy way for cars whose suspension are simple, like here

Lazy way

Copy SUSP_LF, name it DIR_SUSP1 and parent it to SUSP_LF, then copy again SUSP_LF and move it on the X axis so that the center of the empty is at the edge of the suspension. Then you parent the suspension object to the SUSPX empty.

This is what you should get

Do that for the other 4, pay attention that for the right side you need to rotate the empty so that X faces toward the tire!

Congratulation lazy guy, you animated the suspension in 2 min. But what if you have some shame unlike me and want the suspension to be perfect?

The correct way to do DIR_

We will use the W12 car which has a more complex suspension

Let's take for example the steering arm, we can see that the arm is connected to two parts, one to the chassis and one to the caliper. The caliper part is static and merged with the caliper, so the edge of the steering arm is supposed to rotate with it if the wheels turn left and right. On the other side, the steering arm is connected to the chassis with a moving part. It goes inside and out of the chassis. Knowing that it's clear where we are supposed to put the origin of the SUSP empty and the origin of the DIR_ empty

A little exercise for you : How do we know who is parented to who? And where should I place my empties ?

it's important that you remind yourself about 3 points :

What is static?

What is supposed to move?

Where is it supposed to point toward?

If we answer the question, it's simple

What is static? The edge that connects to the calliper. Like that when the calliper moves, the steering arm moves along and doesn't disconnect.

What is supposed to move? The steering arm is supposed to move in and out of the chassis body. If we parent the steering arm to the chassis it will not move in and out. It will only rotate toward the DIR_ empty.

Where is it supposed to point toward? The steering arm, connected to the calliper must be pointed toward the little hole in the chassis. So we put the DIR_ empty inside the hole of the chassis.

Let's do another suspension

This one is up and down since it's the rear tyre. So it's even easier. Both sides can host the susp empty and the DIR empty. But it's easier to do the DIR_ on the calliper side and the SUSP empty on the chassis.

Save the car, and export it. You will see your car with an animated suspension moving fine now.

I should have listened during art class
The susp, and the Dir point
Empties everywhere
brought to you by paint.exe !