Why is making doors so hard | VR Devlog #6

  Рет қаралды 7,060

OneSplit

OneSplit

Күн бұрын

Пікірлер: 31
@iceypumpkinhead
@iceypumpkinhead Жыл бұрын
It's always the functionally simplest things that end up being the most internally complex
@OneSplitDev
@OneSplitDev Жыл бұрын
So true :D
@zodiepupper
@zodiepupper 2 жыл бұрын
you could probably set an activation collider to detect whether the hand is close enough to the handle and then get the hand's global position, convert that to the handle's local space, then omit the perpendicular axis of the vector, use atan2 to calculate the offset of the hand position relative to the x axis of the handle's origin and use that to rotate the handle. You could do the same for the button. Detect when the hand is close, use the hand position to determine how far the button should be pressed down, then if the button is depressed a certain amount tell it to activate. In an old vr project I was building in Godot I set up tools for buttons and levers that did something very similar to what I described. In Godot, though, you can just make a physics object, constrain it (I also used some extra code to force certain positions to make it less jittery) and then detect whether a certain positional or rotational value is satisfied to activate the object. You can also force the object to not be grabbed anymore if the player hand gets too far away to prevent the player from holding onto the door from multiple rooms away (this will also fix a lot of the jitter issues)
@OneSplitDev
@OneSplitDev 2 жыл бұрын
Really good ideas 😀 The "physics" approach is very unpredictable, but much easier to implement. I will come back to this for sure, because I just found another bug. Thanks for tips
@orangehatmusic225
@orangehatmusic225 2 жыл бұрын
Because math
@OneSplitDev
@OneSplitDev 2 жыл бұрын
True 😆
@unknownvr8609
@unknownvr8609 2 жыл бұрын
Yooo lets go. your so close to 100 subs!
@seannot-telling9806
@seannot-telling9806 2 жыл бұрын
The reason anyone is still here is we fell asleep at the keyboard.
@OneSplitDev
@OneSplitDev 2 жыл бұрын
I wouldn't be that surprised 😆 Come on, it's a devlog about doors.
@whatever_mp
@whatever_mp 11 ай бұрын
finally some honest video on the topic.
@unknownvr8609
@unknownvr8609 2 жыл бұрын
Lets go! Its a good day when you upload!
@OneSplitDev
@OneSplitDev 2 жыл бұрын
I'm glad you enjoy my devlogs 😀
@unknownvr8609
@unknownvr8609 2 жыл бұрын
@@OneSplitDev :)))))
@dabbieblue8730
@dabbieblue8730 2 жыл бұрын
Hey, for the door problem you could limit the axis so maybe when you pull to far, it doesn't break the object
@OneSplitDev
@OneSplitDev 2 жыл бұрын
Thanks for the idea. Unfortunately, the limits were part of a problem (the reason why it was so jittery when the hand got too far). Luckily, after switching Blender emptys for Unity emptys, limits worked correctly.
@IDENTICYEA
@IDENTICYEA Жыл бұрын
Nice Video man!
@bananastudiotheprogramer
@bananastudiotheprogramer 2 жыл бұрын
Very relatable
@PunMister
@PunMister Жыл бұрын
Hi! I'm currently also trying to make a door for about two days now until I stumbled upon this video and came across the exact same struggles haha. I'm curious if you've found a better way of implementing the door as you said you've discovered another bug with it? If not I'm probably just going to follow your solution lol. Physics are so damn annoying!
@OneSplitDev
@OneSplitDev Жыл бұрын
So far, this is the best solution I have(bug free). But, if I remember correctly, there are some cool ideas in the comments 😀
@PunMister
@PunMister Жыл бұрын
@@OneSplitDev I ended up installing the UltimateXR framework after scouring the web for hours, which is actually amazing. Ended up getting a working door from there with proper gripping/hand poses and stuff super easily implemented (and no bugs thank god!)
@j.o.t.u.n.n
@j.o.t.u.n.n 2 жыл бұрын
What funny is I'm building a door too. On a Chrysler 300
@OneSplitDev
@OneSplitDev 2 жыл бұрын
Good luck, doors are a nightmare 😆
@crabbite3093
@crabbite3093 2 жыл бұрын
What a great chanel I just found xD 1 follow from me 😎
@OneSplitDev
@OneSplitDev 2 жыл бұрын
Oh, thank you
@XLERAT
@XLERAT 2 жыл бұрын
👏 👏 👏 👏👏
@Hamlet2615
@Hamlet2615 2 жыл бұрын
Why doors is making so are hard?
@OneSplitDev
@OneSplitDev 2 жыл бұрын
Not sure what to tell you 🤔
@KozelPraiseGOELRO
@KozelPraiseGOELRO Жыл бұрын
And that is why I don't Develop VR Games.
@S41L0R
@S41L0R 2 жыл бұрын
lol maybe you should look into fixing the root causes instead of working around everything
@OneSplitDev
@OneSplitDev 2 жыл бұрын
While in prototyping stage it's better to get things done fast. Not every feature will be included in a final product. Spending time on a feature, that might get cancelled later isn't the best use of my time. But I understand how unprofessional it might seem at a first glance. Thank you for pointing that out.
@S41L0R
@S41L0R 2 жыл бұрын
@@OneSplitDev Alr! Didn't realize these features are placeholder. mb!
Making a Game About Weak Points
21:27
Emis
Рет қаралды 369 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Why is my Main Menu so different | VR Devlog #8
6:46
OneSplit
Рет қаралды 2,6 М.
I made my first boss fight [Devlog]
5:57
CyberDoesStuff
Рет қаралды 26 М.
I tried to make Cyberpunk in Unity
7:22
TJ
Рет қаралды 24 М.
A Better VR Button In UE / Tutorial
26:18
VirtualRook
Рет қаралды 2,2 М.
Making the least dangerous gun ever | VR Devlog #7
7:16
OneSplit
Рет қаралды 4 М.
Markiplier and JackSepticEye Compete to Make a Game in 2 hours
22:07
Corridor Crew
Рет қаралды 3,5 МЛН
What is Synthetic Selection? Game Dev Log 0
6:29
Makan Gilani
Рет қаралды 1,4 МЛН
I Tried to Make a Cable for my VR game | Devlog
5:24
OneSplit
Рет қаралды 13 М.
I Finally Upgrade my Unity Project
5:46
OverPhil Dev
Рет қаралды 49 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН