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. Dismiss Notice

Question Can ARCamera have child objects?

Discussion in 'AR' started by digitaldawg, Jun 27, 2023.

  1. digitaldawg

    digitaldawg

    Joined:
    Feb 12, 2013
    Posts:
    4
    I want to attach an object to the ARCamera, like a FPS gun that moves with the camera. I've attached an object but it doesn't render.
    How do I fix this?

    Thx
     
  2. Cery_

    Cery_

    Joined:
    Aug 17, 2012
    Posts:
    47
    It is no problem to attach stuff to the camera. They will move as you would expect from any other parent/child relation.
    What you might encounter is that the field of view is adjusted depending on the device you are using - thus the preview in the unity editor might not give the same result. I would try to place the object right in front of the camera to check if that is your problem (within the clipping box).
     
    andyb-unity likes this.