How to Make a VR Keyboard in Unity - Poke and Ray Interaction

  Рет қаралды 20,439

Valem Tutorials

Valem Tutorials

Күн бұрын

Пікірлер: 47
@Blu_Bear
@Blu_Bear Жыл бұрын
Perfect timing! Great tutorial as always
@josteinschefte-jg6mx
@josteinschefte-jg6mx Жыл бұрын
Thank you so much!
@ValemTutorials
@ValemTutorials Жыл бұрын
Thank you somuch for the donation it means a lot
@jhonrymat
@jhonrymat Жыл бұрын
uff el mejor de los mejores, felicidades por compartis tus conocimientos.
@kysonic
@kysonic Жыл бұрын
Thank you! Super tutorial!
@jamesprise4252
@jamesprise4252 Жыл бұрын
I'm getting some conflict between the different canvases which is freezing the app. Any setting I'm missing? Thanks!!
@jamesprise4252
@jamesprise4252 Жыл бұрын
any thoughts?
@felixrouleau2395
@felixrouleau2395 6 ай бұрын
Does anyone know if this keyboard can support multiple languages? Or maybe act like a phone keyboard were a longer press on for example the 'e' key would bring up different option for that letter.
@k4pran
@k4pran Жыл бұрын
How can we make the keyboard close when both it and the InputField go out of focus? Like when we select a dropdown or other element in the UI?
@marcosmwb8444
@marcosmwb8444 Жыл бұрын
I would appreciate if you make a tutorial on optimization for quest, my game is lagging even in an empty scene with only a xr origin and I followed a ton of tutorial on that subject.
@Need2pee
@Need2pee Жыл бұрын
Package the empty scene for Android and upload it to your quest using the side quest and see if it still lags
@Nicholaswaterboy7
@Nicholaswaterboy7 Жыл бұрын
Let's go
@KheireddineAzzez-l3g
@KheireddineAzzez-l3g 2 ай бұрын
Hi, I hope that you are doing well. can you tell us how to implement that using meta quest 3
@max-nd8tt
@max-nd8tt Жыл бұрын
have you tried the OVRVirtualKeyboard ? Seems like it is not working at all :(
@davidosorio1585
@davidosorio1585 3 ай бұрын
Can you poke with all the fingers?
@alexpapa6718
@alexpapa6718 Жыл бұрын
dude i have multiple input fields in my project and this mrtk keyboard only works with one... i tried tweaking the code and making some other custom scripts but in the end nothing works... helppp
@Bazingler
@Bazingler Ай бұрын
I have the same problem, but it only happens on android devices for me.
@PELECHOJUNIORKONE
@PELECHOJUNIORKONE 11 ай бұрын
SUPER.
@OverGamerPT
@OverGamerPT Жыл бұрын
Can you do it but without the rays just with hand detection !? that would be a good ideia too
@Spartinus
@Spartinus Жыл бұрын
same workflow, in hand traking there is poke interaction that work just the same as the one in the hands with controllers
@ronaldo.tbraga
@ronaldo.tbraga 11 ай бұрын
When I build for the Oculus Quest, the caret doesn't appear :/
@aladinrezgani9003
@aladinrezgani9003 6 ай бұрын
same , did u fix it ?
@daisybakerdev
@daisybakerdev 6 ай бұрын
@@aladinrezgani9003 I was struggling with the caret for ages too. The .apk is essentially a mobile app sooo you need to treat the input field like a mobile is using it! On the input fields set false for "Onfocus - select all" and "Reset On Deactivation" and then set true for "Hide soft keyboard" and "Hide mobile input". Works perfectly for me now :) Hope this helps!
@nuriacarmona1714
@nuriacarmona1714 5 ай бұрын
same problem here
@ronaldo.tbraga
@ronaldo.tbraga 4 ай бұрын
@@aladinrezgani9003 "No, I still have this bug today :/ The solution I've been using is to use a native keyboard from Oculus Quest. Definitely not the best solution, though. Now I'm using the Meta XR All-in-One SDK."
@erbersonvieira
@erbersonvieira 3 ай бұрын
Same problem in Oculus Quest 2
@adambardzak
@adambardzak Жыл бұрын
Hi, how can I make the Enter button work with a "On End Edit" in InputField? It works when I press Enter button on a physical keyboard but not on VR one, thanks.
@janvandlicek7898
@janvandlicek7898 Жыл бұрын
Same here :/
@lucashong9012
@lucashong9012 Жыл бұрын
Same problem
@pidstubs
@pidstubs Ай бұрын
did anyone get a fix for this?
@matteomarucci6035
@matteomarucci6035 Жыл бұрын
unfortunately, everything work until you build an android apk, then the caret wont show and it will be always positioned at the beginning of the input field.
@daisybakerdev
@daisybakerdev 6 ай бұрын
Same problem here! I can't find a solution. Did you manage to find a solution?
@matteomarucci6035
@matteomarucci6035 6 ай бұрын
@@daisybakerdev try using the keyboard included in the new meta xr package in the block system
@daisybakerdev
@daisybakerdev 6 ай бұрын
@@matteomarucci6035 I've had problems with that one too but I'll give it another go! Cheers for your time.
@matteomarucci6035
@matteomarucci6035 6 ай бұрын
i didnt try that one in an apk tbh, it was just a possible suggestion, keep me updated if you succed! cheers@@daisybakerdev
@daisybakerdev
@daisybakerdev 6 ай бұрын
@@matteomarucci6035 Took me all day but I finally fixed it! The .apk is essentially a mobile app sooo you need to treat the input field like a mobile is using it! On the input fields set false for "Onfocus - select all" and "Reset On Deactivation" and then set true for "Hide soft keyboard" and "Hide mobile input". Works perfectly for me now :)
@raphael3024
@raphael3024 Жыл бұрын
Two handed grab?
@m.ismail3923
@m.ismail3923 Жыл бұрын
share ovr controller that you are using
@Activeworker
@Activeworker 11 ай бұрын
enorme ! j’ai trouvé 0 keyboard ou app de traitement de texte sur le store 😏 ! nice accent ;) !!!
@k4pran
@k4pran Жыл бұрын
I wanted to avoid editing the MRTK source code so you can avoid clearing text by removing the link to the input field before MRTK calls onDisable. Here is the code if it helps anyone public class ShowKeyboard : MonoBehaviour { private TMP_InputField inputField; void Start() { inputField = GetComponent(); inputField.onSelect.AddListener(_ => OpenKeyboard()); NonNativeKeyboard.Instance.OnClosed += UnlinkInputField; } private void OpenKeyboard() { NonNativeKeyboard.Instance.InputField = inputField; NonNativeKeyboard.Instance.PresentKeyboard(inputField.text); } private void UnlinkInputField(object sender, EventArgs e) { NonNativeKeyboard.Instance.InputField = null; } private void OnDestroy() { NonNativeKeyboard.Instance.OnClosed -= UnlinkInputField; } }
@EKisam3
@EKisam3 Жыл бұрын
I suggest void OpenKeyboardForTextInput(TMP_InputField inputField) { TMP_InputField prev = NonNativeKeyboard.Instance.InputField; NonNativeKeyboard.Instance.InputField = inputField; NonNativeKeyboard.Instance.PresentKeyboard(inputField.text); void UnlinkInputField(object sender, EventArgs e) { NonNativeKeyboard.Instance.InputField = prev; } NonNativeKeyboard.Instance.OnClosed += UnlinkInputField; //do positioning } to prevent the null reference error
@sarialtsamo2240
@sarialtsamo2240 Жыл бұрын
maybe the same for htc vive
@lacamel3529
@lacamel3529 8 ай бұрын
Warum schreibst du die Scripts nie mit rein? Einer schreibt und 1000 kopieren, ist besser als wenn die 1000 von deinem Bildschirm abschreiben müssen. Denk mal darüber nach
How To Make a Quest 3 Mixed Reality Game - Unity Tutorial
13:08
Valem Tutorials
Рет қаралды 118 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 712 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 37 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 831 М.
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН
Hand Tracking with Unity XR Interaction Toolkit
16:30
Valem Tutorials
Рет қаралды 74 М.
Haptics with the XR Interaction Toolkit in Unity
10:18
XR Terra Class
Рет қаралды 104
Let's Make a VR Game Part 1 - VR Setup and Hand Presence
16:07
Valem Tutorials
Рет қаралды 49 М.
How to Slice in VR - Unity XR Tutorial
17:45
Valem Tutorials
Рет қаралды 26 М.
Worldbuilding in VR with Unity's XR Interaction Toolkit
30:24
2023 Unity VR Basics - Input System and VR Hands
11:46
Fist Full of Shrimp
Рет қаралды 25 М.
Can I Create Video Games Using SQL? (No Game Engine)
20:58
icitry
Рет қаралды 127 М.
Free VR Template to Start any Project in Unity
7:20
Valem Tutorials
Рет қаралды 37 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 37 МЛН