Unsolved Moving engine pops via JBEAM?

Discussion in 'Mod Support' started by Citybuild122, Sep 5, 2022.

  1. Citybuild122

    Citybuild122
    Expand Collapse

    Joined:
    May 11, 2016
    Messages:
    113
    Screenshot2022-08-01001010.jpg

    So if you open that picture above, its just a standard pulley prop for the engine. I am trying to translate this prop backwards, but can't for the life of me figure out how to do it here. I tried adding the standard
    ",[]{"pos":{"x":0.0, "y":0.2, "z":0.0}}" however this does not work at all.

    If anyone could help me out here, that would be amazing. Thanks!
     
  2. TrapX

    TrapX
    Expand Collapse

    Joined:
    Dec 25, 2020
    Messages:
    6
    you need to change "y":0.2 to any number you want
     
  3. Anolen95

    Anolen95
    Expand Collapse

    Joined:
    Jul 31, 2016
    Messages:
    24
    OP, did you ever find a solution to this? I'm having similar issues with accessory pulleys / belt on a Bastion 5.7 swap.
     
  4. Citybuild122

    Citybuild122
    Expand Collapse

    Joined:
    May 11, 2016
    Messages:
    113
    I have not. I know it's definitely doable, and people act like it's easy, but no one can seem to offer the solution.
     
  5. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,406
    On props you should use baseTranslation instead of pos, syntax is the same. But you will be surprised how hard it actually is to line them up.
     
  6. Citybuild122

    Citybuild122
    Expand Collapse

    Joined:
    May 11, 2016
    Messages:
    113
    Thank you! I was able to get it to work using this:

    Code:
        "props": [
            ["func",            "mesh",                   "idRef:", "idX:", "idY:", "baseRotation",          "rotation",            "translation",         "min", "max", "offset", "multiplier"],
            ["rpmspin",             "gavril_v8_fullsize_pulley1",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,  360,   0,        1],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
            ["rpmspin",             "gavril_v8_fullsize_pulley2",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,  360,   0,       -1],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
            ["rpmspin",             "gavril_v8_fullsize_pulley3",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,  360,   0,        1],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
            ["rpmspin",             "gavril_v8_fullsize_pulley4",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,  360,   0,        1],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
            ["rpmspin",             "gavril_v8_fullsize_pulley5",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,  360,   0,        1],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
            ["rpmspin",             "gavril_v8_fullsize_pulley6",      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1440,  1440, 0,        4],{"baseTranslation":{"x":0.0, "y":0.2, "z":0.0}},
     
  7. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    90
    from my experience, I'll use "baseTranslationGlobal" but may not be the best also here is an example "baseTranslationGlobal":{"x":-0.002592, "y":-1.81025, "z":0.815004} <-- model software location
     
  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