I want to fix the wheel not rotating properly.

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


  • This happens when the wheel is not scaled and turned properly.


    In most 3d drawing programs, each individual part has multiple properties, including scale and rotation about each of the xyz axes. The game will rotate wheels about their real local Y axis however. So if a part looks aligned in Blender (or whatever You happen to use) but has some rotation in its properties (see fig.1), You will end up with what You see in Your model.


    Fig. 1


    To cure this, You will need to make the part unscaled and un-rotated, in other words, tell the drawing programme that the part as it is now is scaled 1-1-1 and rotated 0°-0°-0°. See Fig. 2 for the associated menu entry in Blender 2.79.


    Fig.2


    By applying rotation and scale, the actual look, size and orientation of the part in Blender will not change. Just the rotation and the scale will be defined as 1 and 0° respectively. Export the part again after this step and Your wheels should no longer wobble about.

  • Could You please describe the issue in more depth? What transformations are causing issues here, how is the wheel scaled and rotated in Blender?


    A second option may be to look at the parts transformation matrix. With a properly scaled, applied and rotated part (scaled 1-1-1 and rotated 0°-0°-0°), the matrix should read {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, (x coordinate), (y coordinate), (z coordinate), 1}. If it looks any different than that, the matrix will introduce local scaling and, more importantly, a local rotation bias to the part, which may explain Your issue as well.


    The problem consequently may be in a mismatch between the parts own attributes and what the transformation matrix does to it.

  • looks like a combination of things, ensure the following;

    1. in your 3D model the wheels must be at the center pivot point of the 3D, so no positioning over any of the axles. That you need to set in the mdl file after import.

    2. when you export the model make sure the axles are correct, the game will rotate over the y-axle as DH-106 explained. The y-axle in Blender is not the y-axle in game when you export&import from Blender to the model editor. If needed amend the pivot point of the wheel to get the correct axle directions.

    Reply in German if you want, but allow me to stick to English.