Thank you for another helpful tutorial! If it isn't too hard, I would love to see a tutorial on getting physics based interactions in VR like boneworks.
@neddo15984 жыл бұрын
Gamer Reality the boneworks engine was designed from the ground up by the team, so it would be very hard. However if you have knowledge with programming physics you could try that, there could be a realistic physics thing in the assest store or a tutorial for it.
@Johnny-wn4dl4 жыл бұрын
@@neddo1598 no it wasn't lmao, it uses unity
@neddo15984 жыл бұрын
Johnny VRer the physics engine is custom, but other than physics, yes it uses unity
@blaccy59914 жыл бұрын
@@neddo1598 no it uses NVidia PhysX.... The lead devoloper litterally said it
@user-ri7rh7ui2v Жыл бұрын
@@neddo1598 why do you pretend like you know stuff when you actually don't know s***?
@wizuud48213 жыл бұрын
Here is a fix for the new XR Interaction Toolkit I made! using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; public class handleGrab : XRGrabInteractable { public Transform handler; public Rigidbody rb; public void EndGrab() { rb.velocity = Vector3.zero; rb.angularVelocity = Vector3.zero; transform.position = handler.transform.position; transform.rotation = handler.transform.rotation; } } Then Inside the script New XRGrab Interactable go under 'OnSelectExited' and slot in the 'EndGrabFunction'.
@mateofloyd52632 жыл бұрын
YOU ROCK!!!!!!!!!!!
@hasannagaria13955 жыл бұрын
I just want to say thank you. I am new to VR dev and with this little methodology you just gave me the ability to do so much more then open doors! Your videos have been abundantly helpful!
@orioncloud17722 жыл бұрын
I'm using oculus integration in unity 2021.3.2f1 now. And It works very well. Thank you so much for your effort.
@buddster1245 жыл бұрын
Love the video, Could you do a video make a video on climbing?
@AlexLeggo5 жыл бұрын
+1 yes, Climbing!
@playerzklubvrstudios40775 жыл бұрын
Yes, on both SteamVR and Quest :-)
@jonathanlovholm51325 жыл бұрын
Would love that!
@denimdinofan94 жыл бұрын
this would be useful
@konzeptzwei4 жыл бұрын
this.
@TsetTsyung5 жыл бұрын
What game had that "magnetic hand" that you showed at the beginning? I had THE EXACT same idea to use Inverse Kinematic character body with VR. Oh well... at least I now know I'm not quite as stupid as I once thought, lol. Thanks so much for another informative video. Keep them coming.
@ValemVR5 жыл бұрын
Thanks Michael, its from Enrique Tromp, I am not sure the game is annouced yet but yere is the original tweet with more information. twitter.com/entromp/status/1149699790277623809?s=09
@justsports96775 жыл бұрын
Great tutorial, can this scene be extended to have custom hand mesh grabbing the handle and the real hand turning "ghost like"?
@PixelWitch4 жыл бұрын
Thank you, I would have taken a million years to bumble through figuring out all these solutions on my own.
@cakeservant2 жыл бұрын
Awesome Tutorial! Taught me a lot of new Mechanics. I never used Hinges or Joints before... so thanks!
@heliorabadantoro1054 жыл бұрын
All said Valem thank you very much, im looking foor VR tutorials all over the internet, and your tutorials are the best, keep on like that man, thanks for helping everybody,is good that we help eachother¡¡
@haiminh6435 ай бұрын
Good Job Bro, I would like to want make a book which can interac with pages and I find your video which helps me very much. Book and Door are same
@ptinosq4 жыл бұрын
If your custom hands are in the floor and not moving, place CustomHandRight/Left under OVRPlayerController > OVRCameraRig > TrackingSpace> Right/LeftHandAnchor
@GeekyLuigi2 жыл бұрын
Wish there was a simple way to combine this with the SteamVR SkeletonPoser to have the hand model "snap" to the door handle while you're pulling.
@KentHambrock4 жыл бұрын
This explains the issues I was having so perfectly. Thank you so much for this.
@ndonkey5 жыл бұрын
Thanks s much for another really helpful tutorial. Cant wait to see what you do next :) Any chance we will see a gun holster/inventory system where you can connect items to your body as you move around?
@sirawesomeness75433 жыл бұрын
Now you gotta make a tutorial on inverse kinematics using vr to show us how to snap to objects
@DNetworking4 жыл бұрын
This is a cool trick for dressers, doors, and so on. XD Thanks a lot for these tutorials
@devseb5 жыл бұрын
I love your videos. Thank you.
@jonathanlovholm51325 жыл бұрын
Youre awesome man, so helpful! Keep up the great work!
@JessicaSFranco4 жыл бұрын
Hello Valem. Great Video. Have been learning a lot with you. I would love to know how you can move the hands in the unity play mode.
@THE_ONLY_GOD2 жыл бұрын
Thanks! Can do a tutorial on how to make the UltimateXR style (VRmada) arm extenders shown in that video?
@ianbebe27454 жыл бұрын
You are the holy grail of vr tutourals Edit sorry bad grammer
@ThatGuy-qv1uu5 жыл бұрын
This is really helpful. Great tutorial as always!
@xten99505 жыл бұрын
Love your tutorials
@rabiefathallah64855 жыл бұрын
thank you for your effort
@asalongino35885 жыл бұрын
can you show us how to make two-handed guns? I cant figure out the math behind it
@Corysia5 жыл бұрын
Thank you so much for doing this tutorial!
@gwenthetodeke Жыл бұрын
Some bits are outdated, unfortunately. Please, can you recreate this tutorial with the new OpenXR?
@bthadley50064 жыл бұрын
Can you do a tutorial on Buttons and Levers using the Oculus Integrated tools?
@elaboure Жыл бұрын
How would you make a foldable door (with the external pane being grabbable) ? Simply adding panes with hinge in between, or is it more complex with need to add scripts, etc. to have the various panes moving together ? And also.. comparing with your other video "Introduction to VR in Unity - PART 7 : DOOR, LEVER, DRAWER,...", this video looks more complex.. I could build simple grabbable doors without all the scripts and intermediate cubes of this video.. So what's the best way for making foldable doors ?
@ruhlmcu4 жыл бұрын
Valem, Thanks for the tutorial. Can you explain how objects that slide in and out (like a drawer) or twist (like a dial) might work? Are there joints involved or just a colliders to keep things aligned?
@Biestly1224 жыл бұрын
How does the "ForceRelease" work with the new XR Interactable Toolkit?
@TheAdventuresOfMontuMiah5 жыл бұрын
It's better and much easier to use Steam VR or VRTK. Much smoother and no extra code. Using unity's joints are a mess and probably a bad idea. NEWTON VR was the best solution but the developer discontinued that remarkable asset. Anyway use whatever you find comfortable. Nice video! Thanks Valem.
@Robber74 жыл бұрын
How does steamVR work on games that arent Steam games?
@hasannagaria13955 жыл бұрын
I would like to ask, is overriding the Oculus SDK something that I should be doing a lot? I.e for different behaviors and such? For example if I am looking to do things like nested grabs or two handed grab or play certain animations?
@pixelb0i2555 жыл бұрын
Always on point!!
@teemuleppa33474 жыл бұрын
Hi, awesome content ! Could you also make a tutorial about how to add realistic touch to characters...ie. let's say you have a 3d model of npc and when touching it the mdoel would realistically interact... eg. dents in the skin etc.... sorry my english is bad but im sure you know what i mean :)
@SlamDunkYaJunk4 жыл бұрын
It wont let me put a rigidbody in the ConnectedBody slot of both the HingeJoint and the FixedJoint????? Am I missing something?
@NeroForte_9 ай бұрын
Hello, Valem. The issue now is We move through the walls and the door. how can we avoud that. i tried coliders and rigid body on walls and ground, but no luck
@heliorabadantoro1054 жыл бұрын
Hello again¡¡ i did it, but i dont know if it is correct, what i made is to put the distance Grabber hands in the scene with vissible Skinned mesh renderer, and put also aswell the CustomHands but with the Skinned mesh renderer off, and right now it works perfectly well is it a good solution?
@thomasbodin90295 жыл бұрын
Énormément de choses intéressantes dans cette vidéo ! Merci !
@ValemVR5 жыл бұрын
Merci pour le feedback Thomas ça fait plaisir ! :)
@trendking18175 жыл бұрын
Like so he can make series about making horror games in VR!
@Sueko20094 жыл бұрын
Your tutorials are awesome!! Do you have already one where i need to turn down the handle to be able then to open the door, and then if the door closes it resets making again the need to turn the handle.
@ahmedteeka4 жыл бұрын
amazing Many thanks
@sskenth5 жыл бұрын
Fantastic!
@tom_hd71575 жыл бұрын
Can you create a Tutorial, On How to Create a VR Boxing Game?
@nerfingdino56285 жыл бұрын
These videos are super helpful, but I was wondering, are you going to continue your How to make a VR game tutorials
@ValemVR5 жыл бұрын
I will continue the serie but without building it upon the same project like I did so more people can understand the context and the development of the tutorial ! :)
@nerfingdino56285 жыл бұрын
Valem Ok
@SibrisLarenz4 жыл бұрын
QUESTION! - Say you have a flight craft cockpit, and have a steering wheel of sorts for control of your craft, what should I use instead of the hinge joint? I've ran into an issue where the angle limits wont work on the HingeJoint if the rigid body is kinematic, and if its not kinematic, the object will not transform along with the parent object. Suggestions to alternatives short of programming my own joint? - Thx
@erdemhilmi3 жыл бұрын
I love the video, but there is little problem. Public OVRgrabable doesn't have HTC Vive either. I don't know which class to use. Somebody help me please
@eshapatil98585 ай бұрын
the door i made is spinning 360 degrees continuously, how do I solve it?
@liyahwembs31044 жыл бұрын
Question custom hands has Parent Transform and Player... what should I put for player
@herp_derpingson4 жыл бұрын
Steam VR supports it by default. You dont need to write your own scripts.
@ronan59465 жыл бұрын
Amazing!
@tuannguyenquoc11703 жыл бұрын
thanks you broo....
@jacobdavies37613 ай бұрын
T H A N K Y O U
@JRScreative3 жыл бұрын
Problems i'm dealing with: - Your way of setting up the player controller makes my movement glitchy ( When turning left or right i spin in a circel and phase trough walls...) - Can't grab objects... (gave a cube rigidbody and OVR Grabble script with "snap position" Enabled.) - When exporting my project to quest, and open the game. I have four hands instead two ( two hands wich are dark blue ish and two hands wich are the same mesh as those of the "custom hands" prefab... Please help me : ( Gotta finnish this project next week....
@lovesterposey51094 жыл бұрын
Hello, I'm trying to combine this video and the object grabbing video. I am trying to make a mini gun that requires two hands to aim and shoot. I've added hinge joints to the front and back, but when I grab it the physics is ignored. Also, I can only hold with one hand when I try with two it just switched hands. Any advice??
@GloryMeat5 жыл бұрын
Can you do a tutorial on how to make a game for the oculus go plz?
@emilypolanco40145 жыл бұрын
When I apply the Door grabbable script, I can move my grabbable handler once but then it goes flying into space like Vector3.zero is not working. Any advice?
@krabesandwich5 жыл бұрын
Hi, Great tutorial! I have made a cabinet door that opens and closes, but the door does not want to stay closed all the way. How I can I get it to stay closed without bouncing open a little. I have tried adjusting the damping on the hinge and the mass on the rigidbody and it seems to help a little. Any suggestions? Thanks!
@ValemVR5 жыл бұрын
Really good question! Hopefully there is an easy fix for this also, go to the hinge joint of the door and check the spring box, it will add a force that will automatically rotate the door towards the centee
@krabesandwich5 жыл бұрын
Valem ok thanks!
@lukeyager50395 жыл бұрын
Hey man, I love your videos and they've really gotten me into VR development. One problem I'm still having is that the quest won't let me use both hands(and the one that works is 3dof not 6). The fix you described previously in the comments no longer seems to work and I'm out of options as to what can fix it. Any help would be really appreciated!
@GertBrouwer5 жыл бұрын
Look here, it worked for me! www.reddit.com/r/oculus/comments/cj9x78/oculus_quest_development_on_unity_results_in_only/ Add the line of code in your unity version and in project you are working on.
@lukeyager50395 жыл бұрын
@@GertBrouwer Thanks! I'll try it out
@TTLExperience4 жыл бұрын
A full video about dOoR
@LilBigfootOverlanding5 жыл бұрын
Hey thanks a ton for this super helpful tutorial!! Do you know if they have a way of purchasing scripts like this?
@TheAdventuresOfMontuMiah5 жыл бұрын
Use Steam VR or VRTK. These are free. NEWTON VR was the best but doesn't work with new Unity and VR SDK's.
@LilBigfootOverlanding5 жыл бұрын
Ok hey thanks for the help! I’m a newbe to game dev but have done 3D stuff for years.. I think learning C# is gonna be my biggest hurdle😅 But with helpful channels like yours I’m sure I’ll figure it out eventually☺️👍 thanks again!
@heliorabadantoro1054 жыл бұрын
Hi¡¡ please is there any way to make it work with Distance Grab Hands? i've been trying to inegrate the distance grab hands,and i dont know how to make it work
@DNetworking4 жыл бұрын
I would suggest looking at his tutorial where he was setting up distance grabbing hands + creating some cubes to grab from a distance using said hands. Maybe you'll think of a way to do by watching it :o
@ahmadkabbani123455 жыл бұрын
Hello valem so everytime I install the oculus integration and I put its scene or use anything from it I get around 5 errors can you help
@RFixT_Swaps4 жыл бұрын
I had some problems(2 error) I have Visual studio 2019 I wrote: using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPhysics : MonoBehaviour { public Transform target; Rigidbody rb; // Start is called before the first frame update void Start() { rb = GetComponent ; } // Update is called once per frame void Update() { rb.MovePosition(target.transform.position); } } What I do wrong?
@sylwestermoniuszko-szymans14884 жыл бұрын
Syntax error, it should be rb = GetComponent ();
@M4pster3 жыл бұрын
Can you remake this using XRToolkit?
@nmaikowski80132 жыл бұрын
my door is launching me into the air
@zbyszggo46262 жыл бұрын
My doors are opening itself at start, someone can help?
@II3URNZ4 жыл бұрын
my door gets destroyed by the kinematic cube LUL damn edit: nevermind i fixed it by using a smaller collider box :)
@soundsosound2 жыл бұрын
Thanks a lot. This was super helpful! Had to adopt this a bit to the new XR Interaction Toolkit. I just could not find out, how the last step can be realised, as there does not seem to be a ForceRelease method in the XR Grab Interactable class. But what even bothers me more is, that my character controller pushes the door - not when I use the thumbstick, but when I move my head into it. This even pushes the door out of its anchor. And sometimes my character controller is suddenly beamed up onto the door. Any idea, how this can happen? I use the XR Origin (action based) with a character controller component - no Rigidbody.
@mateofloyd52632 жыл бұрын
try to using Physics.IgnoreLayerCollision, so anytime you grab the door you will be ignoring the collision with this
@halabahahg57593 жыл бұрын
why is the door disapearing
@chipwy92325 жыл бұрын
the controllers arent working for me there not showing up
@chipwy92325 жыл бұрын
It makes my game pause when i start it which is weird
@Mateooyt3 жыл бұрын
0:01 what game is it?
@asterlofts15654 жыл бұрын
And while ... Valve and its doors in virtual reality.
@gdheroes28024 жыл бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPhysics : MonoBehaviour { public Transform target; Rigidbody rb; // Start is called before the first frame update void Start() { rb = GetComponent(); } // Update is called once per frame void FixedUpdate() { rb.MovePosition(target.transform.position):; } }
@anficyon4 жыл бұрын
what changes needed for steamvr version of the tutorial?
@ValemVR4 жыл бұрын
Instead of using the OVRPlayerController from the Oculus package, use the Player prefab from SteamVR and add interactable and throwable on the dooor handle! :)
@MeanMachine9954 жыл бұрын
@@ValemVR Any chance you go more into detail on Resetting the black cube to the original position using SteamVR? Would be much appreciated! :)
@RedFlamevr-q5m8 ай бұрын
code plz
@crypted695 жыл бұрын
Does it work with Windows Mixed Reality?
@ValemVR5 жыл бұрын
You can do something similar with the steam vr which works with the wmr! :)
@crypted695 жыл бұрын
Wow that was a quick answer
@henryrobersonn4 жыл бұрын
my script keeps saying error ; expected
@gdheroes28024 жыл бұрын
same
@gdheroes28024 жыл бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPhysics : MonoBehaviour { public Transform target; Rigidbody rb; // Start is called before the first frame update void Start() { rb = GetComponent(); } // Update is called once per frame void FixedUpdate() { rb.MovePosition(target.transform.position); } } now the script should work ;)
@DNetworking4 жыл бұрын
@@gdheroes2802 Double check your code. Yous should know how to spot small errors
@Paulztackett4 жыл бұрын
This script doesnt work for me, anyone have success??
@gdheroes28024 жыл бұрын
same it's not working
@notc0mputing Жыл бұрын
@@DNetworking bro chill. we all start somewhere and discouraging people from continuing to learn is the last thing we wart to do
@cactusmanyt5998 ай бұрын
Dont this work? public GameObject gameObject1; public GameObject gameObject2; public void voidName() { gameObject1.transform.position = gameObject2.transform.position; } then just use xr interactable events on select exited
@manuelillanes16354 жыл бұрын
My door works but it keeps opening alone. How can I fix this??