# PROJECT TX - Muscle based Ragdoll System! (g84iUSVoQUI, 737s)

foreign [Music] welcome back to another VR video today we are back in the project TX Test Zone you can see here the new the new body system here we go and the leg system as well this is all procedural legs by the way there's no animated ones right now I haven't upgraded that so you can see here it just sort of float around a little bit when I'm moving around foreign active as well here we go but I can I can switch it on and off you can see there's a little bit of lag on the controllers when I turn my character body that is one line of code but today's video is about ragdolls this is actually the third time I'm recording this each time I forget to fix the eye uh renderer on here it's now fixed I'm just looking at my there we go when I jump you cannot see the character eyes anymore oh God that was annoying but there we go so you can see here we are looking at some new character models just random character models we've got the tiny as usual this skelly's off the uh asset store here we've got skeleton uh skeleton a skeleton and a knight off the asset score you've seen this guy before and we've got this guy who you've never seen before uh he's his name he's called Mario if you haven't heard of him uh then there we go now you have uh yeah so there we go um just a quick test of the new Ragdoll system really uh you can see they are looking at me it's a little bit uh creepy actually especially when the skellies actually look at me there we go look at these many things skellies and they don't look once I'm I'm far enough um so there we go it's just a quick test of the NPC and AI systems they're all able to actually look around and move around and they are full ragdolls so here we go we can actually push them around and you can see this is the new Ragdoll system it's all muscle based right so this is the same Ragdoll as you're seeing on me with a little bit of folding problems there actually I need to work on that that's not normally there actually it's just a matter of scaling this arm oh my nose is Twitchy today there we go Okay carry on um so new Ragdoll system new muscle system as you can see here they are much more natural looking and they're able to actually balance themselves as well this is all stumble balance and everything and you can see if I push them really really quickly they are still able to hold their balance nicely really really cool and it's actually a lot cooler than that as you can see that my character way and these uh these tinies are about the same weight so you can see the usual right so there is this is my actual tracking and you can see here that as usual my my my strength is not not enough to actually lift the player body just like that you kind of have to use the two arms and actually do that there we go and they all start looking up it's really really awkward I need to work on the on the look system a little bit but the cool thing with that is because they're about the same weight as me it means I can actually lift them up but let's see let's see how they they work so there we go we've got a proper AI system going on here if I can push him enough that I can just make him fall down hey can you turn around there we go um this is ridiculous right turn around there we go turn turn your body there we go and let's try and push him down we managed it right so you can see he tries to balance he gets up as well all very very neat but you can see how difficult it was for me to actually push him down right although their head is a little bit flexible uh it's very cool doing like the the kind of Stranglehold very very cool right I haven't got grabs either so nothing nothing like that but as you can see they do balance really really well as a response to that though it means you have to think about how to trip them over so one of the coolest things about this is it becomes much more natural now in combat watch this sweep what's this sweep again there we go that was better right so you can see I can actually sweep the legs and they do fall down and then they kind of stand up like that right so there again this time forward and he fell down really really cool another way that you can actually trip them is as long as you get them off the ground so if you can lift them with with the arm like this hook the arm and then you can just do this very very cool and you can see how difficult it was for me to push him down but with the right structure we can actually do that really really easily these guys are relatively light and you can see the collider shape has changed here very cool so you can just really easily lift them and trip them over really easy I can actually lift his whole body because they're skeletons right so they're much lighter this guy not so easy to lift so with him it's not so easy to actually trip him but I managed to anyway a little bit of lift is good enough here's the cool part though each of these characters has actually got the ability to move so there we go I've actually got a nav a nav mesh on this on this land here on this test world and you can see here Mario is able to walk around yeah you'll have to excuse me I'm a little bit Twitchy today but there we go Mario is actually able to walk around now Mario actually has trouble walking upstairs because he's a little bit short and the character controller is not updated correctly the ground grounding system but you'll notice he will try there we go he managed to do it on one set of stairs he just about yeah he always has trouble with that last step come on up you come he made it he made it there we go Mario made it up the stairs and now uh he's going down he's a full Ragdoll as well it's really cool because what I can do is I can just set these guys up and they all use the same Ragdoll system [Music] they will use the same Ragdoll system and the same pathing system and everything right so there we go the same AI controls it all just works but some of them are set to walk some of them set to run let me show you this where's red guy red guy he was right behind me I thought he figured out uh he figured out who he was and uh became became a living AI right so there we go red guy you can see actually runs and he's he's overshooting his Target positions there trying very hard to run and you can actually see how all of these characters are able to properly handle terrain that he's trying to figure out oh he's falling down uh he was trying to figure out where I am [Music] blue guys figured it out properly and you can see they're just able to get pushed over properly very very nice you are going to stumble down there we go it's beautiful the the Ragdoll system really works like it really works exactly how I wanted it to this is going to be so much more fun when I've got a proper combat combat system give them a little bit of strength I'm actually working on tension controls in the Ragdoll muscles so that's going to be even cooler where they'll have the ability to actually strengthen their tensioner and at any point meaning they're going to be relatively loose when idling which right now I'm just going to make some of them stop moving here for a sec there we go and uh yeah when they're just sort of idling they'll be relatively loose instead of like this they're always trying to get back to position right um so instead they'll have looseness controls they'll have tension controls it's all going to be really really cool you can see here the skeletons do the same thing as well so they're able to move around and again one of them will walk one of them or run this is the runner and that guy's a walker and if all it all just works really well this is all very very cool excuse me I really need to eat right so this is what I've been doing on my days off it's been a little while since I made a video so I just decided I wanted to make a quick random video it's very very random but this is this is the new Ragdoll system really working really well actually I can't wait to get proper stuff going now the aim with these guys is that they're going to be able to pick up weapons and use them properly right so they're already able to actually move around very very quickly um here we go let's let's just show you how quick these characters can move uh Mr red guy you are the runner so here we go run run run Rabbit and you can see he's able to actually run at a natural-ish speed I can actually turn his speed up I just need the right animations for his run he just he's just sort of wobbling around right now it's really working nicely and they're still capable all while while they're actually running and all of that it's not like the they're strengthening their grounding or anything like that this is just part of the existing system if I trip him I trip him right so it just works really well it works really well but there we go that's the end of this video really I just wanted to show show off I just wanted to show their ability to actually move around and figure out how to get to places and and they can actually walk upstairs and everything properly this is probably one of the most natural sort of Ragdoll setups I've done up until now with the right animation setups they would really be much more advanced all right guy down you go did he fall Kelly I think Skelly fell oh there we go he's trying to run around yeah so there we go oh there he is he's stuck he's not gonna figure that out but there we go um yeah wonderful absolutely brilliant brilliant new Ragdoll system there we go he's gonna figure that out now so yeah hopefully um you can see the potential here for what this stuff is going to be like they're all very very balanced they're all very well to do and very controllable as well with the right AI system this is going to be awesome you can see they're able to actually walk up here and of course we know what I'm going to do we're going to just do this hey you dare to get past my push oh and you've thrown me off how dare you um but there we go thanks very much for watching I know this has been a bit of a ridiculous video uh it's just a quick test of all of this random stuff he tried to stop so he fell down the road the ramp here that's about it yeah it's a tiring video it's halfway through the week that's how it is I've got work tomorrow I'll see you guys in a bit uh so thanks very much for watching I will see you in the next video goodbye foreign I said goodbye [Music]
