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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question How to stop AR from moving objects?

Discussion in 'AR' started by cf_alex_bull, Dec 7, 2022.

  1. cf_alex_bull

    cf_alex_bull

    Joined:
    Nov 15, 2022
    Posts:
    3
    In AR Foundation I'm wanting an object to stay in the same place relative to the camera/not be affected by AR tracking. I'd like for other objects to be able to remain affected by AR tracking too.

    Is there any way to do this?

    An example of roughly what I am talking about can be seen here:
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    525
    There isn't any AR-specific trick here-- I would recommend just making your object a child of the Main Camera? That way when the camera moves, the object will always move with it.