Buoyancy Problem :|

Discussion in 'Content Creation' started by StinchinStein, Aug 13, 2015.

  1. StinchinStein

    StinchinStein
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    763
    Hey modders,

    I was wondering if you could help me and figure out why this is happening (video below)




    Is it something to do with my pressureGroups? Please explain :)

    P.S. All JBeam is mine, do not publish without permission.
     
    #1 StinchinStein, Aug 13, 2015
    Last edited by a moderator: Oct 21, 2015
  2. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,262
    Pressure Group triangles need to be located at every point on the boat that is going to float on the water, otherwise some strange stuff begins happening. Judging from the video and what little I could see of the JBeam, it looks like you only have pressure group triangles located around the bow, so only the bow will float.
     
  3. StinchinStein

    StinchinStein
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    763
    Okay, So I can't use QUADS as pressureGroups?
     
  4. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,262
    Sorry, didn't look that closely. Admittedly, I've never worked with quads. Just remember that you will have to add pressureGroup coltris/quads to every surface that will contact the water, even on it's edge.

    Your video didn't have collision triangle debug activated, but that would be extremely helpful for diagnosis.

    Edit:

    BoatDemo.png

    Here's a little graphic showing how I JBeamed the hull of the Pembroke. Buoyancy is treated as law, so a false bottom is necessary to keep the boat/ship from angling up on the underside of the hull. Note the Pressurized walls extending up from the waterline. Also note that boats and ships in BeamNG need to be properly balanced. If the ship is front- or rear-heavy, it will accelerate in the direction of the excess weight.
     
    #4 Occam's Razer, Aug 14, 2015
    Last edited: Aug 14, 2015
  5. StinchinStein

    StinchinStein
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    763
    Thanks,

    and here's another video for further investigation (if I don't figure it out)



    - - - Updated - - -

    Good News: I got it to float!

    Bad News: It spazzes out when it's turned sideways or upside-down (Only floats right-side up)
     
    #5 StinchinStein, Aug 14, 2015
    Last edited by a moderator: Oct 21, 2015
  6. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,262
    My best guess would be that the deck coltris/quads need to be included in the pressureGroup, that should make the entire boat one completely contained buoyant object. Bear in mind that sinking is not currently supported with buoyancy.
     
  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