Unsolved Engine pulleys not showing

Discussion in 'Mod Support' started by SebastianJDM, Dec 5, 2019.

  1. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    856
    how do i get engine props to show up? i'm using animated engine pulleys and i sort of looked at the bluebuck to figure out how it works but mine won't show up in game. do i need more than just the "props" section?
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    How have you set location to them?

    With normal objects, origin goes to 0,0,0:
    upload_2019-12-5_21-53-1.png

    With props though, you set origin like so:
    upload_2019-12-5_22-0-25.png

    After that you drag prop on place and do not apply location anymore:
    upload_2019-12-5_22-1-29.png

    If you apply location it can spin wildly 100km away or something like that.

    Rotation of props is then something I have not yet to figure out, driveshafts tend to rotate not straight and haven't understood yet how to fix them.

    But that has been thing for props not showing up for me at least, also if using offsets they can be at 0,0,0 which is at bottom of car until offset is adjusted properly.
     
  3. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    856
    hmm i have applied origin to centers of the parts' geometries, is this wrong? they are set to rotate on the y axis, which i double checked to be correct. i've also looked all around the map, under, above, inside things, inside my car, etc. and can't find the pulleys.
     
  4. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    You need to have part at 0,0,0 when you apply origin and facing up, then applying rotation makes axis to be correct for steering wheel for example, I guess other props too. Then move to place and do not apply rotation again. I think even applying location did horrible things, it has been a while since I made these things.

    There is one reply from developer to this with pictures, but could not find other than this:
    https://www.beamng.com/threads/custom-steering-wheel-moves-wrong.27503/#post-395169

    Do you get any errors to log that would complain about something?

    Also if you add object as flexbody does it show up then?

    Probably it is something simple, but figuring out what it is can take few attempts.
     
  5. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    Hmm if you really can't find the prop anywhere and you have set it's mesh name correctly try to check if it's
    function is also set correctly. That would be 'rpm' in this case ? I remember messing with prop a while ago and
    if the function isn't accepted for some reason then the prop (thus mesh) simply doesn't show up. I believe most
    of what fufgfen says is also right. When you apply location, scale, rotation to it the proper origin is gone. You need
    indeed to drag them to the desired position without applying L R S. This also means that you may not forget to
    unselect it if nesessary when you are applying L R S to other parts. If I get stuck on getting a prop to work I do
    the following :
    - create a blender file from an imported .dae from which you know the prop works.
    - now in your own blender file hit shift + f1 to import object from library.
    - select the blender file, find your object (prop) and click accept or ok ( don't remember from memory )
    - find the object in your own blender file, drag into position, copy jbeam properties from the prop you 'copied'
    into your cars jbeam file and this should work. If you want to change the mesh you can go from there as long
    as you don't apply L R S.

    It's just a workaround but it works for me when I get stuck on the origin setting.
     
  6. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    856
    i've done what fufsgfen said (place it at 0,0,0 facing vertical, apply all the stuff, and then position it without applying anything else after that) and still can't get it to show up. maybe my jbeam is messed up somehow.
     
  7. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    If there is no errors in console, then there must be something in jbeam I guess, check this list (flexbody not showing up):
    https://wiki.beamng.com/Vehicle_Modding_Common_Problems#A_Flexbody_doesn.27t_show_up:
     
  8. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    If you want to share or pm the jbeam file I won't mind talking a look at it and see if it works.
    Or just screenshoot the concerning code lines ?
     
  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