Search Unity

Parent object pivot point is changing when adding child objects

Discussion in 'Editor & General Support' started by Mythscape, Sep 4, 2021.

  1. Mythscape

    Mythscape

    Joined:
    Feb 28, 2021
    Posts:
    4
    I'm attempting to "change" the pivot point of an object by creating a parent object and offsetting the child as discussed here https://answers.unity.com/questions/984944/move-gameobject-pivot.html

    However when I add the child object, the parent object's pivot point changes to half way between the parent and child. I'm expecting it to remain in the same place as the parent object? Both objects are standard unity cubes.

    Is my expectation correct, and if so why is the pivot point moving?
     

    Attached Files:

    SamuelE likes this.
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    The pivot point is not actually changing. You are seeing the position of the editor gizmo changing because you have this setting in your editor set to "Center" instead of "Pivot":
    Screen Shot 2021-09-04 at 9.52.24 PM.png
     
  3. ransome5588

    ransome5588

    Joined:
    Oct 3, 2022
    Posts:
    1
    thank u, u solved one of my problems
     
  4. maRaider

    maRaider

    Joined:
    Dec 18, 2012
    Posts:
    4
    You rock! This was making me chew my desk.