Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  3. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Move Camera with object

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

  1. SmonSvk

    SmonSvk

    Joined:
    Aug 16, 2016
    Posts:
    8
    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:
    268
    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?