Solved custom steering wheel moves wrong

Discussion in 'Mod Support' started by charly777, Jul 3, 2016.

  1. charly777

    charly777
    Expand Collapse

    Joined:
    Apr 6, 2016
    Messages:
    33
    I created in blender a custom steering wheel and added in blender for it under object / transform the origin to geometry, then I added in jbeam for steering wheels my wheel mesh and in moves right now in the direction but anyhow wrong, it went while moving to the right a little bit back like it would be wobbeling ; I change the coordinates like that :

    Code:
    }
    "sbr_steer_02b": {
        "information":{
            "authors":"BeamNG",
            "name":"Nomi Mod.307R Racing Wheel",
            "value":330,
        }
        "slotType" : "sbr_steer",
        "props": [
            ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
            //steering wheel
            ["steering"  , "steer"      , "f7r","f7l","f8r",  {"x":90, "y":0, "z":0}, {"x":0, "y":1, "z":0}    , {"x":0, "y":0, "z":0}, -1000, 1000, 0, 1, {"baseTranslation":{"x":0.6550,"y":-0.282,"z":-0.455}},],
    
         ],
     
  2. Jalkku

    Jalkku
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    223
    Your jbeam seems correct, can you send your .blend so I can check if there's something wrong with it?
     
  3. charly777

    charly777
    Expand Collapse

    Joined:
    Apr 6, 2016
    Messages:
    33
    here :
     

    Attached Files:

  4. Jalkku

    Jalkku
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    223
    You had applied the rotation to the wheel, it should have rotation applied so that it points upwards, and then rotated to the desired rotation.

    Try with this:
    Code:
    ["steering"  , "steer"      , "f7r","f7l","f8r",  {"x":25, "y":0, "z":0}, {"x":0, "y":0, "z":1}    , {"x":0, "y":0, "z":0}, -1000, 1000, 0, 1, {"baseTranslation":{"x":0.6550,"y":-0.282,"z":-0.455}},],
    and with the blend-file i uploaded:
     

    Attached Files:

    • Like Like x 1
  5. charly777

    charly777
    Expand Collapse

    Joined:
    Apr 6, 2016
    Messages:
    33
    thanks alot , that worked :) (Solved)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice