User Interface and Curved Canvas - Oculus Interaction SDK - PART 6

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • How to interact with user interface in VR with poke and ray.
    ❤️ Support on Patreon : / valemvr
    🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
    🌍 Discord : / discord
    🐦Twitter : valemvr?lang=en
    👍 Main Channel : / @valemvr
    🔥 Tiktok : / valemxr
    Download the Oculus Integration Package : assetstore.unity.com/packages...
    PREVIOUS EPISODE : • Poke Interaction and B...
    NEXT EPISODE : • Hand Presence with Con...
    ····················································································
    📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)
    VR Interaction Framework
    assetstore.unity.com/packages...
    Hexabody (Physics VR Player)
    assetstore.unity.com/packages...
    Mirror and Reflection for VR
    assetstore.unity.com/packages...
    Auto Hand (automatic hand grab pose)
    assetstore.unity.com/packages...
    Hurricane VR (vr physics interaction)
    assetstore.unity.com/packages...
    3d Hand Model for VR
    assetstore.unity.com/packages...
    ····················································································
    Full Series on How to make a VR game • How to Make a VR Game ...
    ····················································································
    If you enjoyed this video, here are some other really good channel you should appreciate :
    ⌨️ Game Dev
    Brackeys : / @brackeys
    Dani : / @danidev
    Code Monkey : / @codemonkeyunity
    👨‍🎓 Vr Dev
    Justin P Barnett : / @justinpbarnett
    Vr with Andrew : / @vrwithandrew
    ····················································································
    #vr #vrdev #madewithunity #valem #unity

Komentáře • 74

  • @cgtsaturn
    @cgtsaturn Před rokem +48

    Pointable cylinder is now Cylinder Surface just to let you guys know!

  • @andrewtowl4048
    @andrewtowl4048 Před 2 měsíci +1

    Thanks for the excellent tut! For anyone else struggling to get their canvas to show with the newer SDKs you may need to add a Mesh Renderer and OVR Canvas Mesh Renderer to your cylinder object and assign the proper fields.

  • @PuppetDev
    @PuppetDev Před 2 lety +38

    CanvasMeshPointable is now PointableCanvasMesh. It still takes the CanvasCylinder, but now you have "Forward Element" fields which seem to work a bit differently.
    For anyone who got stuck just like me, the following was my setup to make it actually interactable:
    - PointableCanvas: Leave "Forward Element" empty.
    - PointableCanvasMesh: Put the PointableCanvas reference into the "Forward Element" field.
    - RayInteractable: Now has a "Pointable Element" field. Put the new PointableCanvasMesh reference into it.
    The rest of the fields stays thte same, just like in the video.
    Edit: Basically, the dependencies are reversed. So for the Poke interaction, you do the same. You have to reference the PointableCanvas ON the PokeInteractable, and not the other way around anymore. Leave the Forward Element of the PointableCanvas empty.

    • @Guide4Ever
      @Guide4Ever Před rokem

      I don't even have CanvasMeshPointable

    • @juanluismoreno5903
      @juanluismoreno5903 Před rokem +1

      Ty Valem for awesome tutorials and ty K0hakuDev for your fix. Oh, you both dropped this - *hero cape*.

    • @LHyUk
      @LHyUk Před rokem

      Your solution is very useful.

    • @christa23
      @christa23 Před rokem

      It’s very useful, thanks

  • @firingpin3520
    @firingpin3520 Před rokem +2

    I’m making a halo VR game and this is an absolute god send. Literally EVERYTHING I needed for a UI menu. God bless you sir! Your my hero haha

  • @skudgee2
    @skudgee2 Před 2 lety

    Thanks for this one, great job !

  • @carlisr1111
    @carlisr1111 Před rokem +8

    There is an example in the OCULUS>INTERACTION>SAMPLES>SCENES>EXAMPLES>RayExample where you can see the changes

  • @ScareFire
    @ScareFire Před 2 lety +3

    Hey !
    Thank you for this tutorial ^^
    Do you know if its possible to have the cylinder vertex pointing outwards, so that the canvas can render on the outside side of the cylinder ?
    I first though it was the "Facing" option on the "Pointable Cylinder" script, but it seems to only refer to the raycast collision (it says so in its source code).
    If anyone knows >

  • @jaybenny5477
    @jaybenny5477 Před 2 lety

    Here comes the sun

  • @dreisemesterzumerfolgdsze3453

    Hey, I am trying to write a teleport locomotion for the oculus hand tracking system. And the basic systim i came up with works. But i wonder how you would trying to acomplish that. Furthermore i put the teleport function on the OnIndexPinch event but it would be way better to have something like a on indexFingerPointing event or something like that. May you could cover up something like that?

  • @Tymon0000
    @Tymon0000 Před 2 lety +1

    How big is the performance cost of the curved one compared to the regular?

  • @jimmychen0123
    @jimmychen0123 Před rokem

    Hello, thank you for making such a create content about how things get implemented in VR, however, I am having trouble lately with UI, since the Menu UI is often blocked by the objects in the scene, and I wonder if there are solutions for this.

  • @simonunlock9728
    @simonunlock9728 Před 2 lety +2

    Can you show how to setup multiplayer with oculus integration?

  • @jaybenny5477
    @jaybenny5477 Před 2 lety

    hi valem could you post a video about how does the game 'Cubism' on oculus work when player interacts with those pieces and get them together?I know it must have to do with socket.

  • @DutchyChannel
    @DutchyChannel Před měsícem +1

    Hey all. Has anyone else had the issue that in builds, the curved canvas isn't rendered? It did work before for me. I'm completely clueless as to what is causing this.

  • @amirulaminazli2573
    @amirulaminazli2573 Před 2 lety

    for curved canvas its only for oculus integration or can be used in openXR

  • @hubrawe
    @hubrawe Před 2 lety +2

    nice, all things clear. i have question that about button that created in part 5 , How i can make it to call specific function ?

    • @picoplanetdev
      @picoplanetdev Před 2 lety +2

      On the gameobject with the button, try searching and adding an Event Wrapper. Not sure what it's called exactly but I bet you'll find it if you search for "wrapper"
      Then you can assign functions from there. I need to take a look at how I did it, if this was wrong I'll try to update 😀
      EDIT: It's called the Interactable Unity Event Wrapper

  • @justice83
    @justice83 Před rokem +2

    Can you give a link to the instructions you used?
    Also, github link to project would be really handy :) ..

  • @jaimetena
    @jaimetena Před 2 lety

    Hello, your videos are wonderful keep it up.
    One question: How can I check if an object is grabbed or not by a boolean variable?
    All the best. ty :)

  • @eggmusic8933
    @eggmusic8933 Před rokem

    Hey i have an issue, when my ui gets projected on the cylinder it looks all blurry, why is that? also i can't interact with it

  • @hipjoeroflmto4764
    @hipjoeroflmto4764 Před rokem

    Thanks friend I can now make a 3d menu and health bars like sword art online but not doing it for VR just a third person project but it's not anime at all just wanted the menu like sao and health bars I'm tired of flat health bars in games

  • @unessben89
    @unessben89 Před rokem

    Hello I failed review to publish my app functional 9 , about ability to recenter position of the player , Im using oculus plugin XR management , and could not find any answer to help with that :/ any Idea ?how to fix recenter issue

  • @HapsyGame
    @HapsyGame Před 2 lety +3

    Hey, I have a proposal, can you make a video on a Game pause menu in vr ? I like your videos keep it up !

  • @shawnhester1711
    @shawnhester1711 Před rokem

    I need some help! When deleting Standalone Input Module and adding the Pointable Canvas Module to the Event System the UI Input Field stops allowing keyboard entry to the input field. I tried using the Input System UI Input Module with the Pointable Canvas Module, but it does the same thing. Also, when I disable the Pointable Canvas Module the Keyboard entry to the UI Input Field start working again. I am Running Unity 2021.3.16f1. Thanks 😀

  • @nicholaslaroche4900
    @nicholaslaroche4900 Před 2 lety

    Mostly got this to work but the scaling bug at the end is definitely bizarre.. I end up with a curved canvas and multiple UI elements, which is good, but I can only seem to interact with whatever control I put in the middle. I assume something is wonky with hacky transforms + resize. Regardless, cheers and thanks for the great tutorial series!

    • @brock623000
      @brock623000 Před 2 lety

      @Samuel Martins What I noticed is that the scale of the Cylinder and the CanvasCylinder should be 1. Then you can scale the size of the cylinder with the height and radius within the components. This fixed it for me, hope this will help others as well!

  • @ivanreyes4226
    @ivanreyes4226 Před 10 měsíci

    How show and hide canvas? like a pause menu

  • @ty-tybell4069
    @ty-tybell4069 Před 2 lety +5

    Would love to see this with a flat canvas.

    • @lawrenauh
      @lawrenauh Před rokem +1

      flat canvas was in the end of the video.

    • @aidenkimmerling7221
      @aidenkimmerling7221 Před rokem

      @@lawrenauh Is there any way to do default ray interactables with flat canvas, instead of poke? I think that's what they were asking

    • @TheJeffries7
      @TheJeffries7 Před 9 měsíci

      With the canvas cyclinder you can set the vertices per degree. Setting this to 0 flatterns out the cyclinder

  • @user-hu9eb9wc9f
    @user-hu9eb9wc9f Před rokem

    failed, my UI is not showing after the default setting, is there any other way to do this also my ui is not working as my hands are not interact with UI even increasing the size of it..

  • @jaybenny5477
    @jaybenny5477 Před 2 lety

    Hi, anyone know why hands tracking can't work in my project after building it? But it works well in editor.

  • @imanniom
    @imanniom Před rokem +1

    It seems some big update realesed from Meta that this tutorial is not working anymore. I also couldnt find some components and even after I gave up for a curve canvas, the simple canvas was also not worked wthin the Valem instructions. Must look for another solution.

  • @3co215
    @3co215 Před 2 měsíci

    hello valem - i don't know if it has been changed to something else, but the box proximity field no longer exists... has it changed to something else? or did they remove it entirely?
    if anyone could help with this it would be GREATLY appreciated as i need to figure this out for my project... i need to be able to poke a canvas as well as use a raycast...

  • @Curumir1
    @Curumir1 Před 2 lety

    Thanks for the tutorial!
    I get a curved panel, but sadly the text is extremly blurry. Followd your tutorial to a T. Do you have an idea why its blurry?

  • @mundopiruleta72
    @mundopiruleta72 Před 2 lety

    Hi! Anybody knows how to make ray interaction work on input fields and a keyboard input appear when selected?

  • @jamesgrafton5602
    @jamesgrafton5602 Před 8 měsíci

    How can you make pointable elements also grabbable? :)

  • @YANZHANG-xr4bo
    @YANZHANG-xr4bo Před rokem

    want a tuto of scrolling menu,

  • @s3nju279
    @s3nju279 Před 7 měsíci

    what engine is this?

  • @faber_yt
    @faber_yt Před rokem +3

    Hi, I have a problem finding Pointable Cylinder, even if I have Oculus Integration Package installed, can anyone help me?

  • @SLMods
    @SLMods Před 6 měsíci

    I can't find a way to implement a flat canvas

  • @vincentrezzoug7442
    @vincentrezzoug7442 Před 2 lety +1

    Seem it doesn't work with XR Interaction Toolkit Ray

  • @florianantoine3233
    @florianantoine3233 Před 2 lety +1

    I have two problems, the trigger is in a large area around it, and if I put 2 elements, nothing works

    • @aidenkimmerling7221
      @aidenkimmerling7221 Před 2 lety

      Did you end up finding a fix to this? I have some buttons, but the area to click the button is off, like I have to go to the left of the button to click it, even though there's not the actual button there.....

    • @florianantoine3233
      @florianantoine3233 Před 2 lety

      @@aidenkimmerling7221 no solutions, I have a area in my canvas where the elements work, but not at the right scale (the detection area of a button works over the entire width of the canvas) and if I put elements in this area, nothing Does not work

    • @aidenkimmerling7221
      @aidenkimmerling7221 Před 2 lety

      @Florian Antoine weird....I did find a way to get a canvas working without it curved. I believe you change the Layers on Cylinder to UI or Default(the opposite of what is currently the selected layer), then go into the OVRCameraRig and look for CenterEyeAnchor, something like that. Check the "UI" part, there should be a dropdown somewhere, it should say "Mixed" on it. Then test it to see if it works. I dont know if it'll work, as I can't quite remember how I did it, but when I did that, the button scaling for me was correct.

  • @nidhichauhan9349
    @nidhichauhan9349 Před 8 měsíci

    there is no canvas render mode

  • @vkapoor69
    @vkapoor69 Před rokem +2

    Pointable Cylinder is not there in my Oculus Integration SDK it seems

    • @IramKhan93
      @IramKhan93 Před rokem

      Yeah even I'm unable to find the same. Stuck at this step for days.

    • @vkapoor69
      @vkapoor69 Před rokem

      @@IramKhan93 I have been stuck at this for weeks. I heard there is an example of this in the oculus SDK but I haven't found that either. If we can find the example this would be straight forward.

    • @vkapoor69
      @vkapoor69 Před rokem

      @@IramKhan93 Turns out there is a curved menu example in Interactions SDK. You don't need to do anything in this video as they already did it for you. Just drag and drop the curved menu gameobject and its children from that example and you are all caught up with the steps described in the video :) Took me just a few minutes.

    • @IramKhan93
      @IramKhan93 Před rokem

      @@vkapoor69 Thank you. This is helpful

  • @lawrenauh
    @lawrenauh Před rokem

    better indicate which version of oculus integration the video is using, for the high frequency of the release make the processing so different and make us frustrating.

    • @ValemTutorials
      @ValemTutorials  Před rokem +1

      This version used was v38, it was hard to predict that the sdk would change this much.. :/

  • @michaelhu105
    @michaelhu105 Před 2 lety

    hello, valem, thank you very much. your videos are wonderful. but only one issue: speak to fast,and i can not follow your step on time. some steps too fast. i can not see clearly.☺

  • @danielggonzalez5785
    @danielggonzalez5785 Před 2 lety

    Man, if only this was done using only the XR toolkit, it would be golden.... still fantastic work, my dude

  • @SP4ZE
    @SP4ZE Před rokem +3

    Outdated tutorial. No pointable cylinder component

    • @AyoubADIL
      @AyoubADIL Před 5 měsíci

      now it's Cylinder Surface

  • @samberti
    @samberti Před 8 měsíci

    Possible de faire tes vidéos en français ?

  • @cerencanbaz3861
    @cerencanbaz3861 Před rokem +1

    there is no pointable cylinder

    • @studyacc8053
      @studyacc8053 Před rokem

      do you find any fix for this problem?

    • @AyoubADIL
      @AyoubADIL Před 5 měsíci

      now it's Cylinder Surface

  • @simonunlock9728
    @simonunlock9728 Před 2 lety

    Pls im begging