How It Works 1 - RECREATED - Half Life : Alyx - Movement and Collision

  Рет қаралды 4,536

Nimso Studios

Nimso Studios

Күн бұрын

Пікірлер: 42
@Aerotactics
@Aerotactics 4 жыл бұрын
Off-topic, but the metallic controllers are oddly satisfying
@NimsoStudios
@NimsoStudios 4 жыл бұрын
It's a slight update to my personal themed controller set, but I probably won't be keeping the metallic materials after this. The separated colours are intentional to show which one is left / right at any time without really thinking. I always have the same rule on colours: R = Right = Red, L can be anything L, sss (else). Read that as "Red or Else", or "R or L"
@Aerotactics
@Aerotactics 4 жыл бұрын
@@NimsoStudios How do you feel about Beat Saber putting Red on Left?
@BaseRealityVR
@BaseRealityVR 4 жыл бұрын
I love these kind of videos, I often load up the VR games I have to study how things work and make educated guesses on how the systems are working so I can takes notes and try to replicate them in my own VR projects. Having somebody else with a bit more knowledge and experience also confirming how stuff is done is super helpful to me.
@bossbam
@bossbam 4 жыл бұрын
Not sure how well it would work, but I was thinkingayne you could add a ui that showed what buttons you were pressing on the controllers so that people can tell what buttons you are pressing. I think this would have been useful so that people knew exactly when you were using the artificial movement. And I'm talking about the kind of ui that pro video game players might have just for some more context
@NimsoStudios
@NimsoStudios 4 жыл бұрын
Good suggestion will try to add that in the next Recreation part.
@waporwave5066
@waporwave5066 4 жыл бұрын
Wait what else would be in the series, boneworks? Would you spend that much time to recreate it's system?
@AlexCKnoll
@AlexCKnoll 4 жыл бұрын
We put the entirety of the blueprints for how to make boneworks body/locomotion on display in the game, so it hopefully shouldn't take that long.
@thesensur6214
@thesensur6214 4 жыл бұрын
Alex Knoll Wait, your a boneworks dev? If so, Love your game!
@RDR911
@RDR911 4 жыл бұрын
Alex Knoll that’s awesome that you guys made it public!
@NimsoStudios
@NimsoStudios 4 жыл бұрын
As Alex mentioned they'd put a diagram on the wall in the first level of the game. I'd studied a bit of the actual movement though the same way I did with HL:A especially out of curiosity for how they handle things differently to what I do. If I do take on the game for a How It Works it will likely be in small elements, it's considerably more complex than what HL:A does though there are always similarities when it comes to games. To answer the primary question though, this isn't dedicated to VR games, I think HL:A and BW are pretty much the 2 absolute extreme sides of player movement and pretty much cover everything in between as a result. I want to do this stuff for way more than just VR games, and of course not just for movement systems but any game system.
@waporwave5066
@waporwave5066 4 жыл бұрын
@@AlexCKnoll Yes I guess that's true. I know about Bonework's locomotion system to some degree, but I thought that even if you know *how* to do it, it would still take some time/tedious work. I was really just asking if Nim Sony was planning on putting that much time into this series or not. But I guess now that you mention it, maybe it wouldn't take as long as I thought.
@asterlofts1565
@asterlofts1565 4 жыл бұрын
Amazing work Nimsony!
@BrainSlugs83
@BrainSlugs83 4 жыл бұрын
Good and intriguing content as always. -- Though, I'm still way more interested in physics based systems that track the combined player movement (not just the center of the play space), that prevent users from waking through objects, and that let them fall off edges. (They're not super hard to make in Unity; I'm just tired of seeing so the games that let you walk through walls.)
@NimsoStudios
@NimsoStudios 4 жыл бұрын
I think you're missing the point of what the game is trying to do here. This system does exactly what you're asking, but it does it intentionally only when the player tells it to. Here I could literally modify a single line of code and skip the Joystick check, it would allow you to have full collision the entire time even when you walk around in play space. The center of the play space is not for the player to understand or care about, it is just the necessary element to correctly applying movement in VR, you never move things within the tracked space by code, they follow tracking no matter what, it's what you can add to that that matters.
@ryc2236
@ryc2236 4 жыл бұрын
I never thought about physics objects and snap turn, interested to see the next vid and what solution/explanation you show off!
@NimsoStudios
@NimsoStudios 4 жыл бұрын
Hey remember the spoon in the Matrix. Well that's kind of what's going on :P
@honglouis
@honglouis 4 жыл бұрын
this is really impressive!
@claudiu2317
@claudiu2317 4 жыл бұрын
making half life alyx 2? 🤔🤔🤔🤔
@hewhoisknownastaco
@hewhoisknownastaco 4 жыл бұрын
I imagine this subject matter does not interest a lot of people, but for the people that actually enjoy this, this is super freaking interesting. Thank you for sharing all your investigations/research. I'm curious though, do you/anybody like or dislike the way HL:Alyx pops you back to where you were before you collided with a wall? Or would it be better if it detected a middle somehow and realized it should pop you out the other side since you are closer to the other side of the wall? To me it seems more intuitive the second way, but maybe it would be jarring for some reason.
@NimsoStudios
@NimsoStudios 4 жыл бұрын
It should never put you on the opposite side of something in my opinion. there is no way you could get there based on the character control system's physical limits. Here for example there's no mantling, so it's physically impossible for me to have climbed over the walls, in HL:A yes there is mantling, but I can step through small head sized gaps (as I showed in my review) and the game just allows it, I think it should always put you back where you were, unless the control system itself is capable of reaching the destination, which is more complex to calculate.
@hewhoisknownastaco
@hewhoisknownastaco 4 жыл бұрын
@@NimsoStudios I think that definitely makes sense at least from a game design perspective. You wouldn't want to let the player bypass parts of levels by letting them stick their head through a thin wall and essentially teleport to what would be a location further along in the level.
@christianlipa7342
@christianlipa7342 4 жыл бұрын
It's amazing dude!!
@kmemz
@kmemz 4 жыл бұрын
What if you implemented this system, or at least part of it, in your physically based IK project? Instead of using a capsule, you have the mesh of the player model detect collisions. And for stuff like leaning over the concrete barriers, the IK detects that collision, and starts leaning over it, instead of pushing the player back, or otherwise not letting the player put their head over the barrier. I think it could provide an extra layer of smoothness and potential immersion on top of what's already there. Also, for better reference of controller input, I would suggest rigging the button presses and thumbstick movement to move the ingame controllers via armature, and perhaps you can model in some transparent light points or rings that show up on top of or around each button when you provide capacitive/non-touch input. That would give us a much better idea of what you're actually inputting, assuming the hands/controllers are in view.
@artmanstudios7037
@artmanstudios7037 3 жыл бұрын
What if collaboration projects could be done inside a vr world?
@forwatching6708
@forwatching6708 4 жыл бұрын
Still interesting but this is kinda like when you're watching an anime and they put in filler episodes mid season just as things were getting really good XD
@zneez4768
@zneez4768 4 жыл бұрын
How does the slightly shorter capsule work? He says it traces horizontally and checks the ground for height differences. Is this a trigger collider or is he using raycasts?
@NimsoStudios
@NimsoStudios 4 жыл бұрын
I write all my character controllers' collision systems manually rather than using the existing helper components. So I use the physics functions for detecting and tracing Capsule and Sphere shapes through the scene. Here I use 3 shapes as part of the code, the Head Sphere, the overall Capsule, then the Step Capsule. The step capsule is hovering a specified amount above the ground, when I trace movement I trace using the step capsule so it never hits things that you can step over, it then traces the radius of the capsule down and extends the same amount below the ground level, this allows me to instantly step up or step down if the floor level is close enough. If the floor is too low it isn't detected as a step and counts as falling off a ledge, if the floor is too high to step up it gets hit in the first trace, so it's detected as a wall.
@PavolZajicekXR
@PavolZajicekXR 4 жыл бұрын
We need unity plugins from you :)
@RDR911
@RDR911 4 жыл бұрын
Sweet!
@dennisrichards2540
@dennisrichards2540 4 жыл бұрын
I know this video is about movement but wanted to say, I would rather VR developers created graphically simple but well thought enviroments like this over attaining graphical parity with normal games any day of the week. I understand some companies are held to a very high standard when it comes to graphics like Valve and I respect their decision to make HL:A look great (but I would still enjoy HL:A if it looked like this) 90% of developers out there could do with taking a step back from the graphics department and take advantage of lowpoly enviroments.
@kingreinhold9905
@kingreinhold9905 4 жыл бұрын
300 lines of neat code is not really quick and simple in my opinion 😂
@blaccy5991
@blaccy5991 4 жыл бұрын
It kinda is tho.... 300 lines for a vr Character Controller on par with HL alyx is "neat"
@BrainSlugs83
@BrainSlugs83 4 жыл бұрын
"neat code" isn't related to how much of it there is. Though 300 lines is a pretty small amount, especially if it's well formatted and commented (i.e if it's neat and tidy).
@NimsoStudios
@NimsoStudios 4 жыл бұрын
Precisely as @@BrainSlugs83 said. The reason I mentioned neat code here is to highlight just how little was involved in writing this system. I'm a neat freak with code, my scripts have white space, neatly aligned comments and bracket placement that other coders often don't like because I'm apparently "wasting space" So in actuality it's probably more realistic to say 200 - 250 lines of actual functional code... that's pretty short. My platformer game has over 700 lines in just the camera control with no player movement at all.
@harmlessnut5619
@harmlessnut5619 4 жыл бұрын
Dang it 1 minute late
@mattymatt2323
@mattymatt2323 4 жыл бұрын
I never really liked the slow falling in Alyx, kinda made me feel like I was a balloon boy. I want to see a hybrid of your walking system in HL Alyx with their collision model
@NimsoStudios
@NimsoStudios 4 жыл бұрын
Was considering trying that out, but I might leave that until after the next element.
@pixelatedfusion7801
@pixelatedfusion7801 4 жыл бұрын
Wait im actually first, hello!
@pixelatedfusion7801
@pixelatedfusion7801 4 жыл бұрын
i see "No Views" instead of "0 Views" lol
How It Works 2 A - Half Life : Alyx - Hands & Physics
26:17
Nimso Studios
Рет қаралды 11 М.
ProjectTX - IK-Less Control, WHY and HOW I'm not using IK!
10:12
Nimso Studios
Рет қаралды 62 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
How It Works 2 - RECREATED - Half Life : Alyx - Hand Physics
12:42
Nimso Studios
Рет қаралды 9 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
PROJECT TX - Control Improved!
9:42
Nimso Studios
Рет қаралды 9 М.
OpenXR - You're STILL missing the point!
21:13
Nimso Studios
Рет қаралды 6 М.
Can You Beat Hitman 3 Without Breaking ANY Laws?
22:37
windowledge
Рет қаралды 2,5 МЛН
Why has Black & White Been Abandoned? - Noclip Greatest Hits
28:44
Noclip - Video Game Documentaries
Рет қаралды 730 М.
Half Life: Alyx - Do we need arms? - Made in ProjectTX
7:10
Nimso Studios
Рет қаралды 37 М.
PROJECT TX - Ragdolls & Grab Upgrades
16:59
Nimso Studios
Рет қаралды 8 М.
Portal 2 - The Moron Theory
19:10
Leadhead
Рет қаралды 2,1 МЛН
What if Minecraft was spherical - PlanetSmith Episode 1
16:33
Incandescent Games
Рет қаралды 85 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН