I have a code that makes rigs that I created move to a specific point.
for i, v in pairs(game.Workspace.WorkMap.Soldiers.GunSoldiers:GetChildren()) do
if v.Name == "Soldier" then
v.HumanoidRootPart.CFrame = CFrame.new(v.HumanoidRootPart.Position.X, v.HumanoidRootPart.Position.Y + 2, v.HumanoidRootPart.Position.Z) --Makes sure rigs are not stuck in the ground
end
v.Humanoid:MoveTo(playerPositions.SoldierMove1.Position)
end
The rigs start moving, but they end up only going halfway to where they should. It looks like they are getting stuck on parts and one another. What is the way to fix this? I have turned CanCollide off for all parts in their path, and for the rigs themselves.
Also, they don’t have any walking animations. This isn’t as important as the first part, but could someone direct me to a tutorial to load walking animations?