Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Disabling collision on a Humanoid's head?

Asked by 4 years ago

It's that simple. I have tried every method, from setting CanCollide to false every frame to using CollisionGroup. Is this even possible?

0
Why are you trying to disable just the head? Farsalis 369 — 4y
0
Post the code you tried. hiimgoodpack 2009 — 4y

1 answer

Log in to vote
0
Answered by
Farsalis 369 Moderation Voter
4 years ago

Also, when you use "Collision Group". You're going to also need to see that group Collidable. Here's an example, of what you should be doing if your using PhysService. You can access the head however you want. As long as, you set it to the collision group.

local PhysService = game:GetService("PhysicsService")
local HeadGroup = PhysService:CreateeCollisionGroup("CGN") -- Collision Group Name
PhysService:CollisionGroupSetCollidable("CGN", "CGN", false ) -- Setting Collision Status Between The Head Group
PhysService:SetPartCollisionGroup(Head, "CGN")

Hope This Helped!

Ad

Answer this question