Wrong center of gravity in container controller

Discussion in 'Backlog' started by orinox, Apr 6, 2022.

  1. orinox

    orinox Ensign

    Joined:
    Apr 6, 2022
    Messages:
    1
    Likes Received:
    2
    For more information see here Bug Report Template

    Build: 1.7.8
    Mode: Survival
    Mode: Single-player

    SERVER NAME: n/a
    SEED-ID: Any

    If applicable:
    MODIFIED PLAYFIELDS: None

    Reproducibility: Always
    Severity: Major

    Type: physics

    Summary: Incorrect center of gravity in any container controller and extensions, when placed symmetrically or only 1 container. When filled with cargo, the center of mass shifts from the front left lower corner. If you balance the loaded ship in blocks, then after unloading it falls to the other side. It is impossible to make a symmetrical ship with the center of mass in the middle.

    Description: The center of mass in the container controller is shifted to the front, left, bottom corner.

    Steps to Reproduce:
    1)Put the core of any ship.
    2)Place 1 container controller on top of it.
    3) Turn on the display of the center of mass and throw some concrete blocks.

    Screenshots, Crash Logs, any other Relevant Information or Download links:
     
    #1
    AshenShade likes this.
  2. AshenShade

    AshenShade Ensign

    Joined:
    Jun 25, 2018
    Messages:
    1
    Likes Received:
    0
    I just ran into this exact problem. I was going nuts trying to solve it by modifying the HV. Shifting just one block (out of 256) from its center location one to the right made CoM move one whole block to the right as though everything was moved. If I had to guess, extender CoM is computed by an integer division as opposed to floating point. The issue is invisible if storage is empty.

    20220526205023_1.jpg
    20220526205016_1.jpg
     
    #2

Share This Page