Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Error attaching gun in to player hand

Discussion in 'Editor & General Support' started by nicopavicich912, Oct 24, 2023.

  1. nicopavicich912

    nicopavicich912

    Joined:
    Jun 6, 2023
    Posts:
    1
    Apparently, when I attach a weapon in my player's hand, the weapon automatically becomes the center of the rig of all parent objects. Any solution?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    7,000
    That seems ... improbable. Show us the code that makes that assignment, or tell us how you do that.
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,412
    Check your pivot/center and global/local buttons in the Scene window in the editor.

    Shortcut keys are Z and X to toggle those.