Forums

  • Capture the floor texture with ARCore Hello!
    I'm trying to capture the "floor texture" based on a ARCore detected plane and the environment (camera) texture. Then reapply this floor texture in a plane mesh, creating a digital floor based on reality.
    I've uploaded an image to illustrate this.

    This is not a ARCore specific question, I think it can be resolved with math and graphics programming, maybe something like unprojecting the plane based on the camera matrix, but I do not know exactly how to do that.

    Can someone help me?...

    Capture the floor texture with ARCore
  • Disable cardboard rotational tracking Is there a way in XR classes to set rotational value to some other quaternion than your phones rotation? I only see disable positional tracking and not rotational tracking in XR classes. I have found solutions prior to the XR addition to unity to solv...
  • Headset wont Render and movement doesn’t work (oculus) Oculus integration asset imported. Installed oculus (Desktop) and openvr (desktop). Using the ovrplayercontroller prefab, when I hit play, whenever I turn my headset, it turns it on the screen too, however, it renders nothing in the headset (completely black). Also I follow that if head movement is technically working, shouldn't controller stuff work too? I cannot walk around. Is this a unity 2018.3.8f1 problem? or an oculus problem? It says there is an oculus...

    Headset wont Render and movement doesn't work (oculus)
  • ARCore Scale Issues Hello. Well i have a prototype of application. It uses ArCore to display somemeshes of houses. When the houses scale is small its fine. But if i want to make it fullsize models starting to drift slowly, their position in Y axis can go up and so on. In...
  • Trigger an action on or off based on camera direction Trying to figure out how I would trigger an action on or off based on the camera direction in an AR application. Essentially when an object is in the center of camera view it should activate and when it leaves the camera frustrum it should deactivate. ...
  • 2 VR Cameras Hello,

    I'm working on a project using the steam VR 2.0 plugin in unity.
    I am trying to have one camera in my scene as the player (headset camera) and then have another camera display to a monitor.
    I'm finding that the camera that I don't have attached to the Camera Rig is also rotating. How do I stop the camera not attached to the Camera Rig from rotating along with the Vive Headset.

    Thanks
  • When using LoadSceneMode.Additive, the next scene with ARkit is not working properly? When I click ViewAR it Loads the next scene Code (CSharp): SceneManager.LoadScene("scene2", LoadSceneMode.Additive); In the second scene I am using ARkit to detect a plane and using UnityARHitTestExample I am placing an object...
  • XRDevice.SetTrackingSpaceType returns fail. What’s problem? XRDevice.SetTrackingSpaceType returns fail. And the log message follow, Failed to find spatial stage root, falling back to stationary tracking space type!Click to expand... Anyone knows the reason? I tried Unity 2017.2.0p2-MRTP5 and U...
  • VIVE Focus Hi, How to develop for VIVE Focus? Can Oculus go App work in VIVE Focus? Thanks.
  • How long do you think it will take to make this game? Any tips? Hi All,

    I've been learning to code for about 6 months and I think I'm getting the hang of it. I definitely understand how most things work, just building my knowledge base of different unity functions and coding techniques. I'm making a relatively simple VR (Oculus), Multiplayer, FPS game and I'm wondering if some people with experience can let me know how long it might take to have the following in my game:

    - 6/7 weapons
    - Multiplayer functionality
    - Score system (points, kills, deaths,...

    How long do you think it will take to make this game? Any tips?
  • [Solved] Wrong distortion using Cardboard and Vuforia Hy,
    I use Cardboard and Vuforia in the same project for Android and iOS, but the distortion is not working the right way. When working with Android, the order of importing the different packages AND the correct adaption of the AndroidManifest.xml brought a very good solution.

    But now I'm trying to achive the same result with iOS and the distortion for Cardboard is not working, although the Cardboard demo scene works well. The distortion looks like there is no distortion correction at all...

    Wrong distortion using Cardboard and Vuforia
  • Open Source solution for adding simple interaction with Unity GUI from a hand controller Video of new GUI in Glycon...


    I needed a way to make Unity's GUI system work from a hand controller in VR, for Glycon and a few other things. I figured it out, but it was not easy! So I've simplified and documented my code, and open sourced it. Hopefully this will help other Unity developers, too. This should work across all VR systems.
    Basically, this means you can build your GUI in uGUI, and test it with a mouse. Then when you're ready to go VR, just...

    Open Source solution for adding simple interaction with Unity GUI from a hand controller
  • Discord for VR GAME DEVELOPMENT https://discord.gg/N6pcffV VR GAME DEVELOPMENT DISCORD feel free to join and ask questions or share your current project or any other vr game dev related stuff
  • Lighting artifacts in Google Cardboard for iPhone I am attempting to develop a simple game for the google cardboard in unity, and everything seems to be running smoothly, but in certain places across the map, black artifacts appear on top my models. I turned off all the lighting in the scene and that ...
  • Struggling with ARCore move/rotate/resize (LeanTouch) No coding background, struggling. Hi there

    I have spent nearly all day and only a little progress has been made so any here is greatly appreciated! :)

    I have successfully built the HelloAR demo onto my OnePlus 6 Android phone. It displays the planegenerator and I can spawn lots the models.

    I have installed LeanTouch from the Asset Store but I can't understand how I can implement this with the ARCore demo!? Many/all tutorials online show that you have to add your asset/mesh in the...

    Struggling with ARCore move/rotate/resize (LeanTouch) No coding background, struggling.