Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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:
    352
    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?