Search Unity

ARFoundation: Place object in front of the camera

Discussion in 'AR' started by jatreutlein, Jan 15, 2019.

  1. jatreutlein

    jatreutlein

    Joined:
    Dec 14, 2018
    Posts:
    6
    Hi,

    I am trying to make a demo app where the user can paint in augmented reality. I however can't seem to make it so that when I tap I can add an object in front of the camera. How can I do this using ARFoundation? I don't know how to get the position of the camera in the AR world in order to place an object at the camera's position. Please post CODE with your reply.

    Thank you,
    Joel