Forums

  • How to disable HMD movement for second camera? When Unity runs with a VR headset (and the "Virtual Reality Supported" switch is turned on), the active camera follows the HMD's movements.

    But my scene has two cameras. One for the player, one for a mirror (the mirror is important, so I don't want a pixelated/blurry render texture and use the Mirror Effect asset)

    The camera used to render the mirror *also* follows the HMD's movements. How do I stop it from doing that?
  • ARFoundation: Frame number from the camera image API? Hi,
    I am using ARFoundation API to access camera image on the CPU but I can't find a way to get information on what frame it was captured, like it's provided for feature points (lastUpdatedFrame). I need feature points and camera buffer from the same frame so the...

    ARFoundation: Frame number from the camera image API?
  • Getting ARKit Face mesh as a template Does anyone know how to get the parametric face generated by ARKit as an FBX somewhere so we can use it as a template in DCC tool for making new full faces? I can't find a reference anywhere.

    I can find the texture layout on the Apple site so I know what the UV layout is, but I want to visualize it in Maya so we can test what they would look like in engine.

    If it worked in Editor, I could probably export the mesh, but not sure how to do that on iOS.
  • Rotating object with Gear/Go controller touchpad (SOLVED) Hello,
    In Unity 2017.4 i had a script to rotate in object with the touchpad of the controller, Gear-vr and Go. I started a new project in Unity 2018.3 (oculus integration 1.34), and used te same script. But it doesn't work anymore. This is the script:

    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4.  
    5. public class KE_ObjectRotation : MonoBehaviour
    6. {
    7.  
    8.     public GameObject ObjectToRotate;
    9.     Vector3 objRotation = new Vector3(0f, 0f, 0f);
    10.     public...
    Rotating object with Gear/Go controller touchpad (SOLVED)
  • ARKit Image Tracking adjust tolerance I'm making an AR app that recognizes playing cards. The issue I'm facing is that cards of different suits are being recognized as the same image. Example: I have an ARRefenceImage for the queen of hearts, the problem is that all the queens in the deck are being recognized. Is there a way to adjust the tolerance so image tracking is more "strict?"

    Thanks!
  • Web Browser in Unity Currently, I'm trying to implement something similar to Oculus's web browser for their Oculus headsets, but for any Android phone on a Google Cardboard. I'm thinking of using the Chromium core to power the actual web browser, but I'm unsure of how to approach this problem. I've seen implementations of a web browser on the Unity asset store, which renders the web page as a texture, but I doubt that this will give the most interactive experience. I haven't personally tried these packages for...

    Web Browser in Unity
  • Serial Port Utility Pro Plugin- Help with Read function please Hey,

    I downloaded the Serial Port Utility Pro free version and tried to do the ExampleSimple scene but it does not seem to work.

    I have done the 4 steps that are showed with screenshots in 5.1 in the SPUP_UserManual.pdf, i.e. I have attached the Function to the Read Data Structure section in Unity.

    The serial port device is selected with the pluggin (it recognizes it).

    When I run the program, the ReadComplate String is never called (I have added sopme Debug.Log(''Messages'')) to track...

    Serial Port Utility Pro Plugin- Help with Read function please
  • Serial Port Utility Pro – Read Hey,

    I downloaded the Serial Port Utility Pro free version and tried to do the ExampleSimple scene but it does not seem to work.

    I have done the 4 steps that are showed with screenshots in 5.1 in the SPUP_UserManual.pdf, i.e. I have attached the Function to the Read Data Structure section in Unity.

    The serial port device is selected with the pluggin (it recognizes it).

    When I run the program, the ReadComplate String is never called (I have added sopme Debug.Log(''Messages'')) to track...

    Serial Port Utility Pro - Read
  • Toggle between image and plane tracking I try to place my 3D object initially with an image tracker. However, my 3d object trembles. As soon as I cover the tracker and the plane tracking works my object is stable. I just tried to turn off the image tracking script in the example scene, but t...
  • ARCore Problem Hello. I have a basic Arcore application. When i detect a plane and placing the object on it. Object is still moving with my phone. It is moving slowly("kinda a bit drifting"). Im using anchors but it seems that it doesnt help or im doing it...
  • Is there an Oculus Asset for viewing all the body? Hi guys, I'm wondering if there is an Oculus official or unofficial asset that let you see all the body of a custom avatar and let you track all the body of the user. My main goal is to move the camera out of the capsule collider of the Player control if the users try to dodge Game Objects thrown at them, while they can still see the body of the avatar. Thanks in advance for every answer.
  • Disable the automatic atribution of the vive controllers Hi everybody,

    I'm kind of a newbi with the VR in unity and I want to disable the left/right attribution of the vive controllers.

    I'm using the Steam VR Plugin and the left and right controller are recognize by the most at the left/right of the helmet but I'm going to use one of the controller to track a real object so the controller is going to be fixed at this object.

    So I want to attribute the controller myself or I want a way to switch between the right and the left.

    I hope someone...

    Disable the automatic atribution of the vive controllers
  • Scripts for Virtual Buttons Hi Team,

    I'm going through some Udemy lessons on creating an AR app through which I can view models I built off several sketches. I've gotten as far as getting the buttons set for the individual targets but I can't really figure out how to edit the script I have to keep the model visible after pressing the button and releasing. I've never messed with C# before and this is the first project I've managed in Unity that's worth anything lol

    If anyone has any tips I'm all ears. I'll post...

    Scripts for Virtual Buttons
  • Steam VR: Lock position but allow rotation I currently have a project that uses Steam VR. I want the player be from a particular avatars perspective who is stationary, with the exception of its head that rotates.

    I've been having trouble maintaining this perspective, as the player can easily move outside of the avatars head. I've looked online to some people who were able to negate positional tracking, but those also canceled out the rotation, which I don't want.

    I was wondering if there was a way through script to lock the Steam...

    Steam VR: Lock position but allow rotation
  • ui arcore the ui in my scene is getting covered by the ar instantiated models even though the models are in default layer and the canvas which is a child of camera is in ui layer and so is the camera the camera is also in the bottom of hierarchy. i am new to arc...