• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Probleme with car wheels animation

Messages
342
Hello
I've animated a vehicle along a loop path with animated wheels. It works, but the wheels are in the wrong direction during a part of the loop.

To do that, I made the following
1 cube and a wheel (axe Y) along a path (axe X). This path is a loop

1- apply to the wheel a constraint "Transformation"
Target : cube - Extrapolate "on"
Source : location X and source to dest mapping X=Y
Destination : Rot Y Max 180°
2- The wheel is a chilfren of the cube
3- Apply to tyhe cube a constraint "Follow path" (Follow Curve "On") forward X

With this solution, The wheel rotate in the good direction on the first part on the loop, where the cube go along the X axis. But
after the turn, the wheel continue his rotation in the same direction and not in the direction of the cube (-X this time).
Visually it turn in the inverse direction of the cube !!!


Finally only one question for me : How make the wheels rotating in the direction of the cube whatever the direction of this one... Someone as an idea ?

I thank you for advance for yuour help :)
Luc
 
Last edited:
Hello, I found a new way. This time I used drivers.

- I create a guide. A simple plane. I apply to it a modifier "Curve" on X, my path.
- I create an empty for the wheel, the cube, and the guide, with parent link ( Empty_Cube to Empty_Guide, Empty_Wheel to cube ...).
Now when I move my guide along X, the objects move along the path.
- I create a driver for the wheel, "Average" Value, object "Guide" and X location.
- This time, my wheel rotate all along the path, in the right direction (the direction of the cube), when I move the guide along the X-Axis.

My problem of rotation direction is solved. But, When I export in FSX, my objects go straight, they do not follow my path !!!!

I solved a problem but I created another !

Help ! :p
 
Hi Luc,

Sorry this constraint does not work in our FSX / P3D simulators
To my knowledge ...
 
I do not know at all I have already tried, without success
I will try again...

good luck
 
I found a solution, I think :

Always my cube and my Wheel.
1- I create a bezier circle
2- My weel is a children of the cube
3- I create an empty
4- The Wheel as a "transformation" constraint with the empty as target
5- The cube as a follow path constraint and a driver (on the offset) with the empty as object
6- I create a generator for the empty to make it animated in the timeline (Empty action)

Like this, it work on FSX.
 
Last edited:
Back
Top