Hello! I just recently got a ragdoll script for a game I’m working on, I’ve had experience in creating custom player movement before and I’m trying to create a system where the player is in constant ragdoll but can still move around. Preferably using velocity.
Due to all of the players connected parts laying haphazardly around. It is pretty hard making a movement system for their primary part as it’s not set in a stock position. This is what I’ve managed and I want to make its WASD movement relative to the camera positioning as currently it only moves across the vectors. https://gyazo.com/7600e6d5a19e4399f491e6dd1f603635 Although I’m unsure how to achieve that.
I’m wondering about creating a separate invisible part and making it the main movement controller, attaching the players ragdoll to it. Although, if there is an easier solution using their existing rootpart I would like to hear it.
So, If I’m understanding you correctly, you are advising me to duplicate the model of the character and add the ragdoll constraints to it, making the original invisible and attaching the duplicated ragdoll model to the invisible character? That’s a really interesting idea. I will definitely try it out. Thanks.
By detaching the character from their HumanoidRootPart they can still control their HumanoidRootPart and their body will remain detached. You can then move the ragdoll towards their HumanoidRootPart (perhaps using a constraint to make sure they don’t get too far from each other).
Note: Due to Roblox jump mechanics (idk why it works this way) the HumanoidRootPart gets accelerated away from their (feet??) and will send them flying if their root part is not connected. To fix this you can set their JumpPower to 0 and implement your own jump.
Aight, I’ve made alot of progress. However, the character moves really slowly and is glitchy. I’m attaching it with a weld to the humanoid root part and using collision service to prevent them from colliding. Also it doesnt let me move unless i jump first. https://gyazo.com/170629629262007b80f4cb3a7e68df79