how do i make an object float? :)

Discussion in 'Content Creation' started by Acrain7, Jun 23, 2016.

  1. Acrain7

    Acrain7
    Expand Collapse

    Joined:
    Sep 7, 2015
    Messages:
    3,515
    i am making a boat (as you might have seen) and have no clue how to make it float. i have tried a few things but none have worked. any answers are appreciated! :)
     
  2. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,190
    This starts it: {"pressureGroup":"test"},
    ________________________________________________________________
    This tells the game how buoyant your object is: {"pressurePSI":"0"},
    ________________________________________________________________
    This finishes it: {"pressureGroup":""},
    ___________________________________________________________________________________________________________________________
    These go in your triangles section.
     
  3. Acrain7

    Acrain7
    Expand Collapse

    Joined:
    Sep 7, 2015
    Messages:
    3,515
    doesn't float :/
    jbeam:
    upload_2016-6-23_17-42-0.png
     
  4. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,190
    Get rid of the {"dragCoef":10}, .


    {"pressureGroup":""}, < this should also be at the end of your collision triangles.
     
    • Like Like x 1
  5. Acrain7

    Acrain7
    Expand Collapse

    Joined:
    Sep 7, 2015
    Messages:
    3,515
    ummmm... now it flies rapidly through the air...
    heres the .jbeam file, see if you cand find anything wrong :)
     

    Attached Files:

  6. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,257
    I'd make doubly sure that there are no gaps in the coltris, otherwise BeamNG is effectively simulating an infinitely deflating balloon.

    While I'm not sure if it's your problem, I've had a reasonable amount of success with using pressureGroups by creating a pyramid-shaped pressure vessel, and attaching it to my main .jbeam. This keeps your boat's shape, makes the bouyancy stable, and, with a breakgroup or two, makes the boat capable of sinking.
     
    • Like Like x 1
  7. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,190
    I solved the flying through the air.

    There were many gaps in the collision triangles.

    File below.
     

    Attached Files:

    • Like Like x 1
  8. Acrain7

    Acrain7
    Expand Collapse

    Joined:
    Sep 7, 2015
    Messages:
    3,515
    thank you!
    and thank you, it floats now, but it also spins in circles... :/
     
    #8 Acrain7, Jun 24, 2016
    Last edited: Jun 24, 2016
  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