Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make my model move while being unanchored?

Asked by
Sorukan 240 Moderation Voter
5 years ago

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?

0
Have you tried using the weld tool? It can be very useful. NoLife_David 1 — 5y
0
I think i'll try that Sorukan 240 — 5y
0
Wait so i have to weld EVERY single part in that model together??! Sorukan 240 — 5y
0
If you use welding instead of proper surface connections, then the humanoid could still not work and be considered "dead", making the pathfinding script not work. TheChampOfKillers 45 — 5y
0
But you could use joints as well, like Dandystan said. TheChampOfKillers 45 — 5y

2 answers

Log in to vote
1
Answered by
BenSBk 781 Moderation Voter
5 years ago

For unanchored parts to remain attached, you need to use joints. To be specific, Motor6Ds 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.

Ad
Log in to vote
0
Answered by 5 years ago

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.

0
I did Sorukan 240 — 5y
0
There's a humanoid inside the model and it's a model of a spider so i can't use rig builder Sorukan 240 — 5y
0
Are the torso and head connected properly via studs and inlets? TheChampOfKillers 45 — 5y

Answer this question