Search Unity

Move Camera with object

Discussion in 'ARCore' started by SmonSvk, Nov 30, 2018.

  1. SmonSvk

    SmonSvk

    Joined:
    Aug 16, 2016
    Posts:
    9
    Hello,

    Is there any sollution how move camera with object? If I have car in unity world with buildings and want to drive this car. But I want the car to stay in same position on anchor and the world will move around the car. Because the world is to big for AR.

    Thank you for any help.
     
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    486
    If using ARFoundation, it sounds like you want to position the ARSessionOrigin in the driver's seat of the car. That would make the camera position relative to the car at all times.

    This sounds like an unusual use case for AR, though. Can you describe your application in more detail? How do you plan to have the physical environment affect or interact with the scene, for instance?