CFraming character and dummy is being weird

So i’ve encountered a slight issue, confused how to fix, so I have two R6 Dummies placed down and I grab their cframe and add 15 on the Y axis on a flat plain, For some reason they seem to always be higher then 15 Studs from their position up on the Y axis

But if I do the same thing to a real player they are level and inline, if I add tweening to it, sometimes it will just randomly end before it reaches the 15 studs up though

See video for reference as you may not understand what I mean

I know it’s quite a small problem with an easy fix of just changing the CFrame for dummies but I’d like to know the reason why this occurs or if i’m doing something incorrect

local function liftCapturedPlayers(hitCharacters)
	for i,char in pairs(hitCharacters) do
		local hrp = char.HumanoidRootPart
		local humanoid = char.Humanoid
		
		char:PivotTo(hrp.CFrame * CFrame.new(0,15,0))
	end
end

Maybe check where the pivot of the rigs are located and make sure they’re at the humanoidrootpart. You can also try hrp.CFrame + Vector3.new(0,15,0)

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