Hello, can someone help me? I have a default R6 rig in replicated storage, and I made the CanCollide = false for the rig, but when I clone the rig from replicated storage to the player’s location, I can’t go throw it. Does the CanCollide set back to true?
local StarPlatinum = rp:FindFirstChild("SP")
if StarPlatinum then
local copy = StarPlatinum:Clone()
copy:SetPrimaryPartCFrame(character.HumanoidRootPart.CFrame)
copy.Parent = workspace
local humanoidCopy = copy:WaitForChild("Humanoid")
humanoidCopy:LoadAnimation(SP_Idle):Play()
end
Basically it control how a group should collide another group or not
for example: if you make “Player” group can not collide with “Rig” group then any parts with “Player” group can not collide with any parts with “Rig” group by any chance even with CanCollide on or not (Touched function still work)
To do this simply go to tab Model → Advanced → CollsionGroup
There you can create groups and setting their collision (It shouldn’t be too hard to understand)
To set part’s CollisionGroup you just need to set it in part’s properties and find the CollisionGroup
Or if you want to set it by script you can just do