Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

gun/model rotation

Discussion in 'Editor & General Support' started by HUDcats, Dec 8, 2020.

  1. HUDcats

    HUDcats

    Joined:
    Dec 8, 2020
    Posts:
    2
    i want to know how to have a model (like a gun) rotate up and down when i look up and down in unity. i know you have to make the model rotate based on where you are looking but how do i do that?
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,724
    You could just make the gun a child of your camera.
     
  3. HUDcats

    HUDcats

    Joined:
    Dec 8, 2020
    Posts:
    2