Great tutorial! You should put it on your "Unity VR Tutorials" playlist, so that people can find it more easily.
@shaycohen0075 жыл бұрын
Great tutorial, you explain it clearly and in a simple way, like your other tutorials. Please make more tutorials👍
@xlaugts1515 жыл бұрын
Hey Shay, Thank you very much for your support!!! It really makes me want to make more of them. :)
@freeju20015 жыл бұрын
Thanks for t his too man. I really appreciate you for your awesome tutorials, with the help of this I would have complete my official project. Thanks a ton bro.
@xlaugts1515 жыл бұрын
Im happy to help Manicka Raja
@christianruiz37775 жыл бұрын
Edit: I finally did it. Once the image is on the project You have to select the image and then go the inspecto and change the Texture Type to Sprite (2d and UI). Now it works. Thank you. For some reason, I could not accomplished it completely. The image canvas won't let me drag and drop my personalized image and neither select it. I just can select some image that are by default there -a white dot. I tried Raw Image and there I can put my personalized image but won't appear Type of image option. What could be wrong. I deleted the raycaster script but it is the same. Anyway, each tutorial you have shared have brought me big steps forward for what I knew which was zero knowledge about all this VR scene. I learned a lot. You sound like a robot which is awesome! :D PD: can you please show how to go forward by looking at the floor? and how to grab different objects. I had an idea about grabbing photos and look them near to the player and then release to grab another photo.like a photo album. I followed your first tutorial but i just can grab one photo.
@xlaugts1515 жыл бұрын
Hey Chris, Yes I can do that. I can officially say that I'm coming back so u can expect that on the next following weeks. I let u know once I publish the video
@NielsDielen5 жыл бұрын
Thanks a lot for this tutorial, it worked perfectly with the scenechanger script :)
@xlaugts1515 жыл бұрын
Thanks you Niels
@karolledzinski7104 жыл бұрын
...where is that script???? he didn't show on tutorial???/
@bianeytapia76225 жыл бұрын
Thank you very much, your work is great. Well explained, answer the questions, really congratulations because after a week, it has helped me out of the problems, boss success.
@xlaugts1515 жыл бұрын
Hey Jane, Thanks very much for the nice words :)
@PedroRamirez-ej2ix4 жыл бұрын
Excellent video!! Exactly what I needed. Thanks
@supremebeme5 жыл бұрын
Awesome it worked perfectly!
@xlaugts1515 жыл бұрын
Thanks Paul
@groversaulsoriagarcia23505 жыл бұрын
Nice tutorial, Thanks
@xlaugts1515 жыл бұрын
Thank you Grover
@dayannecristina90665 жыл бұрын
Hey, I loved your tutorials and this one specially, it works perfectly as you showed in the video. Thank you, keep up the great job! I have a question, is there any way to hide the red circle timer as soon as the scene starts? I mean, visually, not to show the red circle timer, only when you gaze the said button. I tried some stuff and it didn't work, in my application it would be clearer if the red circle wasn't appearing the whole time if you don't click the button.
@xlaugts1515 жыл бұрын
Hi Dayanne, Thank you very much for the nice words :) I will keep it up. To not show the red dot just adjust the fill amount to 0, on the video I did that way for you guys to be able to see. Let me know if that works for you. Thank you :)
@dayannecristina90665 жыл бұрын
@@xlaugts151 Yes, thank you, it really worked!
@qwerty845725 жыл бұрын
Nice Tutorial thanks
@ClydeOnPluto2 жыл бұрын
This works great, but I can't go back to the previous scene. How do I switch back to the previous scene?
@tatianaortegon21655 жыл бұрын
Thank you very much, great tutorial.
@erlanggachakra10744 жыл бұрын
i cant see the pointer / crosshair and the button isnt reacting at all
@afiqasri24042 жыл бұрын
I'm tried following the tutorial steps by steps, but my circle wont fill, and it didnt do to another scene but there is no error , did i do something wrong ? I checked the script it seems fine.
@juliaj96472 жыл бұрын
Thank youuu so much
@carlo14785 жыл бұрын
Great tutorial, it has helped me a lot. Would you like a video suggestion? I would like to know how to control the player through a bluetooth controller in virtual reality with Unity. The movements of the head would control the camera, and the movements forward, back, left and right would be made by joystick from bluetooth controller. Can you help me?
@xlaugts1515 жыл бұрын
Hey Carlos, I had problem trying to connect my xbox controller with my phone via Bluetooth, I will try and see if I can figure it out another way to do it. If I find it I will let you know. For the movement I have a video about it kzbin.info/www/bejne/i3PSqKR9l79sl5Y I am also creating now a tutorial on how to Jump that is going to continue from that one. Thanks for you watching :)
@serveladik2 жыл бұрын
For what reason to use World Space canvas, if it should be in the middle of the screen as UI?
@shazwan83864 жыл бұрын
where can i get the scene manager ?
@pipexo24 жыл бұрын
hello, very good tutorial, I cannot understand in what video you show the script used in the scenemanager gameobject to change scene.
@pipexo24 жыл бұрын
Found the script in a comment below, Thank so much bro
@spektrumcahaya10 ай бұрын
Hi. Was wondering, can this work with Pico VR headset? or Vive?
@supremebeme5 жыл бұрын
Script in video has error, if timer reaches value 2sec it will call click invoke everytime. So you have to fix this script otherwise toggle very quickly. Any suggestions?
@supremebeme5 жыл бұрын
Just add gvrTimer=0f; before GVRClick.Invoke;
@beesiantan55094 жыл бұрын
@@supremebeme I have this problem too
@thunderwubs34814 жыл бұрын
thanks for the video helps.but i have a problem the image wont lock on to the reticle
@Boy-cm8ec4 жыл бұрын
Hi, what is the script to load scene?
@hagar69084 жыл бұрын
How would I make this but have the Player be able to walk around the plane?
@xlaugts1514 жыл бұрын
Hi Hagar, Here I show how to make the character move in VR kzbin.info/www/bejne/h5jTk2iHr82ohck Have a look and let me know if got that done! Tnks
@junio22bk5 жыл бұрын
heiii thank you very much! this is the best tutorial on the internet! you explain it very well too! little question, Same as aldi, if i delete graphic raycaster component on the canvas like you did on the tutorial, the gazing interaction won't work, but if i keep graphic raycaster component on the canvas it's work perfectly. What's the sdk version are you using?
@xlaugts1515 жыл бұрын
Hey Junio, Thanks for you comment. I was using this version GVR SDK for Unity v1.190.1 But I am not sure if I was using that on the video hahaha.... but great that you find a solution. Sometimes the update and things that was working before it just doesnt anymore. Like on the version I was using the OnClick event does not work, so some people are not being able to reproduce some of the things I show on my videos. Cheers!
@junio22bk5 жыл бұрын
@@xlaugts151 hahaha i know right, love your channels, keep it up dude!
@martinflores17745 жыл бұрын
Hi, how i can change the size of the pointer? Not the load pointer , the pointer to select . Thanks
@xlaugts1515 жыл бұрын
Hi Martin, First thanks for watching. To do that go to the GVR Reticle Pointer GameObject and there u will find the script attached GVRReticlePointer, open it and you will find these variables public const float RETICLE_GROWTH_ANGLE = 1.5f; public const float RETICLE_MIN_INNER_ANGLE = 0.0f; public const float RETICLE_MIN_OUTER_ANGLE = 0.5f; You can edit them and see which suits you the best :)
@tteresajimenez3 жыл бұрын
Hi, I have a question, how can I change the selection if I have two buttons, for instance, I want that when I click button 1 a square appears but if I click button 2 the square desapears and a circle appears. Thanks, btw great video!
@wmqspmj72085 жыл бұрын
I already followed all the step except the plane/floor. Then my result on phone, the canvas that have button move and rotate by itself without i move the camera. The button keep moving and rotate like an Earth. How can i fix it ?
@hagar69084 жыл бұрын
I followed this exactly and I can't look around. The circle fills and I cant do anything else.
@xlaugts1514 жыл бұрын
Try to add the GVREditorEmulator to the scene, that enable the controllers to look around
@DenisTepp4 жыл бұрын
Hello! Thank you for great tutorial but I have a problem in the end when trying to change scenes. The timer is working and the circle fills with color, but it does not change the scene when it's all filled. I release the button for the camera rotation and get the error message "MissingReferenceException: The object of type 'Image' has been destroyed but you are still trying to access it." Then it gets stuck in the same scene with filled circle and does not do anything. What am I doing wrong?
@DenisTepp4 жыл бұрын
Ah stupid me. I forgot to add it in the Build Settings for all Scenes. I tried to change the time to fill the circle and changed GVRTimer to 10 instead of 2. It slows down the filling up but also waits 10 seconds before loading the scene (circle fills still too fast and then waits for about 8 secs). How to speed up the filling process but still change the scene at the moment when the circle is filled?
@xlaugts1514 жыл бұрын
Hey @@DenisTepp, First of all thanks for watching. To reduce the speed try to multiply the Time.DeltaTime for something like 1.5f or 2f that will speed up the fill amount. Let me know if it works
@DenisTepp4 жыл бұрын
@@xlaugts151 Yeah it is giving me right output. Thanks!
@xlaugts1514 жыл бұрын
@@DenisTepp You're welcome!! :)
@allektes4 жыл бұрын
Hi, how would I be able to make it so on button click, i show a raw image that will be invinsible until the button is click?
@karolledzinski7104 жыл бұрын
Ok, everything works ;-)
@rickyindra15534 жыл бұрын
I have changed the canvas into world space. But still not working on android Do i have to give gvr script to other object that i want to interact to? Like the teleporter
@hiabex2 жыл бұрын
Hi, do you know if the GVR add-on/script is still current and working with Unity 2020, 2021? I'd watch the whole tutorial but time is of the essence and I've learnt that things move pretty fast when it comes to change in Unity. Thanks
@arianaalmaraz55105 жыл бұрын
Hello! can you Help me explaining me how to create the gameObject with the script for scene change, I think I'm missing something because in the options it doesn't appear the LoadScene :(
@xlaugts1515 жыл бұрын
Hi Ariana, Here it is the script: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneChanger : MonoBehaviour { public void LoadScene(string sceneName) { SceneManager.LoadScene(sceneName); } } Once you add that script to a gameObject it's going to be a field asking for the scene name just add it and it's going to work.
@karolledzinski7104 жыл бұрын
@@xlaugts151 I created empty game object and adedd this script but it doesn't work.
@Gufis5 жыл бұрын
Hello, i followed all your tutorials, they are great btw, but when ever i test to run it on my phone it get laggy and it give bad experience :( Maybe could you make a video about optimizing this game?
@xlaugts1515 жыл бұрын
Hi Guffs thanks for watching. There are ways to do that I will do a video about it, I just need to find some time for it, but thanks for asking :)
@rafaelcarneiro83074 жыл бұрын
Hello! Thanks for the amazing tutorial. I have a problem when I have to choose the function of the button in the GVR Button (6:09), where I only have two options: No Funtion and SceneAsset >> string name. How can I fix it?
@adibzikryyy4 жыл бұрын
same problem here! are you already solve it?
@wufei65935 жыл бұрын
That is really helpful! Thanks a lot. can you also share the SceneManager script, cause I can not find that in Unity and other platforms.
@wufei65935 жыл бұрын
Hi, I just read the message below and I have resolved it! That really helps and amazing! Thanks, bro!!!
@xlaugts1515 жыл бұрын
@@wufei6593 Great job! Yeah I did share with someone here in the comments :)
@danishaffan_3 жыл бұрын
where is the script for the scene changer?
@juhainaahmed60905 жыл бұрын
Hi. Thanks for the wonderful tutorial. I have a quesiton. How can I reset the circle to fill amount 0 once the onclick event of the button has been invoked., I am not changing the scene but may be changing the button text for example, in its onclick event. So once this is done, the filled up circle stays and does not reset to fill amount zero, so that I can gaze again at the button and see the circle fillinf up again. please help.
@03695005 жыл бұрын
Hey Juhaina, Thanks for asking, I found a clever solution for that hahaha... You see that our button we Invoke the event Click right ??? So on the inspector of the button you have there the field where you added the scene changer with the scene name as you can see at 6:20 of the video. What you can do is click on the plus icon to add another event when the button is clicked, then you drag the image, the red circle into it. There you will have the option to choose image > Fillamount set that to 0. What is doing is when the button is clicked it will do the action that you want plus reset the value of the fill amount to 0 and the circle disappear. Let me know if you made it work! Thanks for watching! :)
@juhainaahmed60905 жыл бұрын
@@0369500 thank you so mich for yoir reply. I will try this soon and let you know as Im on 2 days leave.
@xlaugts1515 жыл бұрын
@@juhainaahmed6090 Great, let me know if you got it! :)
@juhainaahmed60905 жыл бұрын
@@xlaugts151 Thanks! It works now!
@bernandomahulae45465 жыл бұрын
good day sir can you make a video tutorial to make the virtual television and radio object and how to play and make a list of a video on the tv and a music in the radio please.. thanks for attention sir
@xlaugts1515 жыл бұрын
Hi Bernando, Thanks for watching and the suggestion, the radio I think I have some Idea how to do it. I can probably make a video about it. I just need to see if works. I let you know soon as I get something, even if is not a video I share some tips how to do it ok ? Thanks again for watching!
@bernandomahulae45465 жыл бұрын
HP Gamer Dev oke sirr thank youu.. 😊
@xlaugts1515 жыл бұрын
;)
@yusamira67305 жыл бұрын
hey, thank you to help me. Btw can u share with me c# script abt scene change ?
@xlaugts1515 жыл бұрын
Of course you can Here my friend: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneChanger : MonoBehaviour { public void LoadScene(string sceneName) { SceneManager.LoadScene(sceneName); } } Once you add that script to a gameObject it's going to be a field asking for the scene name just add it and it's going to work.
@robotiktasarm43335 жыл бұрын
Is oculus quest working code?
@xlaugts1514 жыл бұрын
Not sure, I only tested on my phone. :\
@omotolajoshua1473 жыл бұрын
Where can i get the script to sceneChanger ?
@alecandreidc6883 жыл бұрын
The circle is not centered on the reticle for both left and right eyes. In the editor it is centered but when I try and run it on mobile it is not centered. Have you found a solution? Thanks in advance
@FreitagsKino3 жыл бұрын
Have you solved the Problem? I have the same issue
@alecandreidc6883 жыл бұрын
@@FreitagsKino kind of.. try adjusting the z axis of the circle (move towards or away from the camera).. i found it to be somewhere around z=10. anywhere below z=10 causes a double vision or "cross-eye", making the circle appear un-centered. let me know how it turns out for you
@FreitagsKino3 жыл бұрын
@@alecandreidc688 If i move z to more than 4, the circle will disapear behind my 3D Objects. Can i put the canvas in front of i?
@FreitagsKino3 жыл бұрын
Fix it. This is for the depth in world space: kzbin.info/www/bejne/q3itYn9mrdN4mJY Tanks for your help!!
@alecandreidc6883 жыл бұрын
@@FreitagsKino great find! another solution would be to create your own shader instead of using the built in google vr reticle shader. but that's another story
@aldiramdani58975 жыл бұрын
i have question , if i'am using gvr Pointer Physic Raycaster , it won't work , but if i'am use graphic raycaster it was work , can u tell me how to make it work using gvr pointer physic raycaster ?
@xlaugts1515 жыл бұрын
Hi Aldi, Thanks for asking. Could you be more specific about your question? I am not sure if I got it right, sorry. :)
@bungbang-e9n5 жыл бұрын
@xlaugts In the canvas settings for the button, You removed graphic raycaster and added GVR Pointer physics raycaster . How to work with graphic raycaster instead of GVR pointer physics raycaster?
@manikandankasi96334 жыл бұрын
May i see the scene changer script please
@pavanbheesetty32075 жыл бұрын
When i build it into mobile..It doesn't shows up even now
@xlaugts1515 жыл бұрын
Did you position in front of the camera? and as a child of the camera as well
@pavanbheesetty32075 жыл бұрын
@@xlaugts151 it got solved..thanks.. there's an other issue... the reticle pointer isn't at same position in both splitted screens in mobile.even position is at (0,0,0).How to solve this?
@xlaugts1515 жыл бұрын
@@pavanbheesetty3207 I am not sure how to solve that problem. Because it's trying to emulate a 3D so each eye it position different the reticle pointer. I can have a look and if I find anything I let you know
@pavanbheesetty32075 жыл бұрын
@@xlaugts151 thank you!! hope you find a solution to it
@xlaugts1515 жыл бұрын
@Dm1try the problem you are facing is that the red dot not showing on the screen ??? Thank you for watching by the way
@salmanmajeed52655 жыл бұрын
Gaze is not interacting with buttons.
@xlaugts1514 жыл бұрын
Hi Salman, Is there any error showing on the screen?
@alecandreidc6883 жыл бұрын
add gvrPointerGraphicRaycaster, graphic raycaster is for UI while physics raycaster is for 3D objects with rigidbody