Hello Developers, Nico here once again.
Today i’m here completely frustrated with this problem. (i’ve been trying to fix this since yesterday)
So basically as you can see in the footage, the rig’s position is fine before :ApplyDescription(), but right after i load the local player’s humanoid description, the rig instantly moves to another location, and the funniest thing is that the HumanoidRootPart has the same position and the only stuff that changes is the body parts position.
So the only fix i can think of is just setting the same size for every player ¿How would i make this?
(Although i’d like to find a better way to fix this without using the same size for everyone)
Nop, still happens. Again, it appears that the PrimaryPart’s (humanoidrootpart) position does not change, the only stuff that changes is the body parts, (arms, legs, etc…) don’t know if that helps.
Wish I knew more about it. Here is a hacky way that may work out.
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character:FindFirstChildOfClass("Humanoid")
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
--------
local originalPosition = humanoidRootPart.CFrame
for _, part in ipairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.Anchored = true
end
end
humanoid:ApplyDescription(humanoidDescription)
task.wait(0.1) --not sure here what would work out.
--maybe with this you don't even need it.
humanoidRootPart.CFrame = originalPosition
for _, part in ipairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.Anchored = false
end
end