I created a custom model by putting some parts together and setting their names to the name of body parts such as HumanoidRootPart, UpperTorso and etc... So i tried making a pathfinding script for it and it works but the problem is that the parts don't stick together and if i anchor them the model wouldn't move so what can i do?
For unanchored parts to remain attached, you need to use joints. To be specific, Motor6D
s should be used for characters, as they allow for movable joints between parts rather than fixed ones. Default characters use these, in fact!
You can read more about them here.
I believe that this is a popular custom character creation plugin, through it may be outdated. You can learn how to use it here.
The reason why the parts aren't sticking together is because you might not be creating a Humanoid
inside the model. Using a humanoid, if the model meets the body requirements (like the Torso
and Head
touch each other and have some studs and inlets for them to stick) then the model will stick together and form a person.
This is required for a pathfinding script to work, and the model cannot be anchored, unless you're using advanced scripting techniques to create a fake humanoid. If you still do something wrong and the model still does not stick, you can go to Roblox Studio > Plugins > Rig Builder
to have the engine create a person for you, and you can customize it yourself from there. Another way you can create a template person is to look for one in the Toolbox and customize it from there.
Comment on my post if you still have more questions or problems.