[FIXED FOR NEXT GAME UPDATE] Vivace drivingDynamics freaking out when I add more wheels

Discussion in 'Content Creation' started by Agent_Y, Aug 17, 2021.

  1. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    So I found this problem during making a mod that adds trailer to parts selector. After I add one to the Vivace, this happens:
    sdfsdf.png
    And it's a really weird issue because:
    • It fixes itself when I remove the front or rear wheels of the car, but not the trailer
    • It occurs when either one of the rear trailer wheels is present, or both of the front ones
    • Doesn't depend on internal wheel names, I can put whatever there and it still does the same
    • Temporary solution is to make the rear trailer wheels the corner wheels but it makes the vehicle drive weird
    Any help?
     
  2. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    You'll have to send me your files, otherwise I won't be ablt to look into this.

    Why is your trailer part of the towing vehicle?
     
  3. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Because that's the whole point of the mod lol, I wanted to add trailers as parts of vehicles. Here are the Jbeam files, enough to reproduce the issue, they can go in common folder or in whatever vehicle folder. It has asymmetrical wheels selection but it shouldn't affect this behavior.

    At the end of the agenty_trailer_boxutility.jbeam file, I put lines that override the corner wheels definition to temporarily fix the issue, you can remove them and see the error.
     

    Attached Files:

    • Like Like x 1
  4. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    I'm afraid I have no idea how to use this... This doesn't seem to be an "Additional Modification" or tow hitch part... Can you please explain more in detail how this is meant to be used?
     
    • Like Like x 1
  5. SKB

    SKB
    Expand Collapse

    Joined:
    Apr 22, 2017
    Messages:
    1,964
    i think we broke the dev.
    /s lmao

    i think its supposed to let you spawn a trailer through the parts menu, without having to spawn a second vehicle/prop/trailer,
    im guessing to help performance? not 100% sure
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Every tow hitch on every car has an unused slot set up for the removed D-Series trailer, this mod uses that slot. So you can find it under tow hitch.
    --- Post updated ---
    It's not to help performance but because I'm too lazy to attach it manually lol
     
    • Like Like x 2
  7. SKB

    SKB
    Expand Collapse

    Joined:
    Apr 22, 2017
    Messages:
    1,964
    that explains it xD
     
  8. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Ah I see, ok, works now :)
     
    • Like Like x 1
  9. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    I found and fixed that bug, not sure when this will reach you though. I'm afraid there is no "no-hassle" solution I can give to you until then.
     
    • Like Like x 3
  10. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Thanks, for now I'll just leave that line that overrides the corner wheels definition I guess.
     
  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