Root part Collosion

  1. What do you want to achieve?
    I want to make the player transform into objects in my game
  2. What is the issue? Include screenshots / videos if possible!
    https://gyazo.com/51bb5c1b71a324edb64e7bc2fd1b7b61 With the method I am using motor6D, but the orignal root part is colliding with any parts thus it’s incorrect
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried using Player.Character = Model, But this resets the camera subjects therefore every time the player wants to transform it resets the camera and it’s ugly

The code I use is :

local char = plr.Character
	local humanoid = char.Humanoid
	
	local Root = char.HumanoidRootPart
	
	local Glass = game.ServerStorage.Glass:Clone()
	Glass.Parent = workspace
	
	local Joint = Instance.new("Motor6D")
	Joint.Parent = Root
	Joint.Part0 = Root
	Joint.Part1 = Glass.HumanoidRootPart
	Joint.C0 = CFrame.new(0,-2,0)
	
	for i,v in ipairs(char:GetDescendants()) do
		if v:IsA("Part") or v:IsA("Decal") then
			v.Transparency = 1
		end
	end
2 Likes

You can set the parts from the player to a different collision group so that it can’t collide with the map

1 Like

Won’t that make the player able to get into stuff he isn’t supposed to?. Is setting the model’s baseparts cancollide to true enough?

setting the player’s baseparts to cancollide as false will do nothing since they just turn it back on (i think) so just set the item in which the player transforms into to cancollide = true

The player’s baseparts are never set set collidable tho

Also I tried to do so, But trying to jump when underawall just doesn’t work no idea why.