So I don’t want players to collide so when a character is added it set them to a collision group and every other characters parts. However i’m not sure how to make it so that (for example) when a player dies all of those players parts will not go through each other. (or become collidible.) If you have any ideas please help! Thanks !
When a player dies, they are still a part of the model so there shouldn’t be a problem. I’m probably wrong but try it out yourself.
what happens is for example I have a ragdoll script and the player dies the characters parts will go through each other…
Arms and Legs are never cancollide, so you’ll have to figure out something else for that
the thing is without the collision groups, the parts do not go in each other, its only if all the parts of the character are in one collision group, and every players parts are in that one collision group.
Why not change the collision group when the player dies then??
Like Nitefal suggests, what if you changed the collision group for a player to the Default collision group when they die to hopefully fix this problem? Just a thought. Not sure if that’d actually work, especially because the Default collision group would be collidable to all other players, which I believe you wouldn’t want people to be able to walk on top of the rag-dolled bodies.
Nevermind i figured it out.
When the character dies i will put all the characters parts in certin collision groups made pacifically for that part. AKA When the player dies the torso will go in the “Torso” collision group.
That would work, but remember that if all Torsos go into one group, for example, then bodies will stack ontop of each other if any of the parts line up on one another.
And also, you need to make sure the Torso group collides with the limbs’ various groups, and stuff.