Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Rotate vuforia AR camera through script?

Discussion in 'Vuforia' started by hitesh18vg, Jun 23, 2020.

  1. hitesh18vg

    hitesh18vg

    Joined:
    Apr 6, 2020
    Posts:
    2
    Hi folks,

    I am developing an application using Vuforia AR SDK. My application requires a complete 3d space environment with the use of Vuforia ARCamera. My application scans a horizontal plane and places a 3D AR Model. I have a buton on my screen that displays another model on the right side of the previous one.
    In other words, my AR camera is situated at he centre and facing the first model (suppose North). I want it rotate it to another model (suppose east).
    I want my user's view to be rotated towards the newly placed model.

    In nutshell, i want to rotate/move my AR camera to specific position. I tried doing it but it brings back my camera to its original position. Its on the user to move the camera to the right but i want it automatically.
     
    tsingh1 likes this.
  2. Sika_MC

    Sika_MC

    Vuforia

    Joined:
    Jul 17, 2019
    Posts:
    96
    Hi @hitesh18vg,

    Rotating the camera or moving the camera will not have any effect on how you see the models. You will need to physically move the device to see both models or physically rotate it.

    Let me know if something is unclear.

    Vuforia Engine Support