Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can you make blocks only collide with certain blocks?

First off I'm not asking for a code just a method of doing this. Is it possible to filter which blocks a block collides with, similar to how you filter which blocks and ray can pass? I have no idea where to start with this. Basically I want to make it so that players can drive around in vehicles (obviously you need it to collide with the ground, walls, etc.), but I do not want them to collide with other players and their vehicles. I tried doing some research on google but I couldn't find anything.

1 comment

0

I don't think that's possible, but for the players you might be able to edit the player model and turn off CanCollide for the players. I have seen games in which the player can walk thru other players.

1 answer

I don't think you can, no.

CanCollide is the only way to turn off collisions as far as I'm aware, and that's a very simple true/false value, no filter.

Sorry

1 comment

0

Thanks for the response. I think I'll just make it so that the other player's cars are local, and make them no-collide and anchored. It will be stuttery, but the only way I can see it being possible.

This discussion is preserved as it was. New answers, comments, and votes are closed.