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

How would i go about making an R15 NPC Non Collidable?

Asked by
PastDays 108
5 years ago

Im guessing it's possible but i cant seem to find a page on the roblox wiki on how to do it, Any help is much appreciated!

0
you would create a collision group and add the parts to that group https://wiki.roblox.com/index.php?title=API:Class/PhysicsService/SetPartCollisionGroup User#5423 17 — 5y
0
So that would make the Models Collision box whatever part i make it rather than its own? PastDays 108 — 5y
0
Collision Groups work by setting if a part will collide with another part, so if you make a collision group with the name 'foo', then set it to not collide with 'Default', any part you add to 'foo' won't collide with any parts, unless you add them to foo. CPF2 406 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

If you want to make your R15 NPC non-collidable, go ahead and select all bodypart's of the NPC and in properties go to CanCollide and uncheck the box!

(Make sure to also select HumanoidRootPart!)

^ Hope that this will help you & that we understanded right! ^

0
That doesnt work, The head is always Can-Collide. PastDays 108 — 5y
0
hm... AswormeDorijan111 531 — 5y
0
One second Alright? AswormeDorijan111 531 — 5y
0
Well there's an intersting thing about it, if you set CollosionGroupId of all parts to 31 then you will be able to cross trough the NPC but with getting up on him. AswormeDorijan111 531 — 5y
View all comments (2 more)
0
Honestly that'll work for now, Thank you! PastDays 108 — 5y
0
Glad to help AswormeDorijan111 531 — 5y
Ad

Answer this question