Player HumanoidRootPart Snapping Down

I’m looking to move the player into a duplicate room at the same position, moving them results in the first physics frame of the character in the right position and then next they snap down into the floor.
I’ve tried using :PivotTo() and my current method is editing the CFrame.

-- this is part of larger code but for brevity i cut that out.
for _, player in pairs(peopleInDeconZone) do
	local character = player.Character
	if character then
		local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")

		if humanoidRootPart then
            local offset = humanoidRootPart.Position - originPosition
			local newPosition = destinationPosition + offset
									
			humanoidRootPart.Anchored = true
									
			print(newPosition)

			humanoidRootPart.CFrame = CFrame.new(newPosition)
			end
		end
end

1st frame


2nd frame (after manually unanchoring the character)

2 Likes

I figured out the problem, I had a trigger inside of the destination room and it was to CanCollide = true which I probably should have suspected first.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.