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

How do I let NPCs walk through other NPCs?

Asked by
Nikkulaos 229 Moderation Voter
6 years ago

I have been searching everywhere for something like this.

I know you can do this for players, but how do you make it work for NPC's?

(Sorry if this seems like a request.)

1 answer

Log in to vote
1
Answered by
lukeb50 631 Moderation Voter
6 years ago

The optimal way to control collisions between groups now is Collision Groups. The only difference for making the same group not collide with itself is you want something like this:

PhysicsService:CollisionGroupSetCollidable(npcgroup, npcgroup, false)
0
O wow, thanks lol. I didnt even know about this feature. Nikkulaos 229 — 6y
0
Unless you check the DevForum its hard to learn these things are added. They sometimes make a blog post and sometimes don't. lukeb50 631 — 6y
Ad

Answer this question