Search Unity

GameObject child's orientation

Discussion in 'Physics' started by gfs111213, May 27, 2019.

  1. gfs111213

    gfs111213

    Joined:
    May 22, 2019
    Posts:
    1
    Hey, i was trying to get a gameobjects child to change it's orientation when it changes direction.

    Right now it only changes position, but the orientation stays the same, i wanted the X axis to change as the father gameobject changes the rotation.
    12.gif