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

How make part collide from 1 side ? SOLVED

I want a 'door' from just 1 part that player can go thru but only from 1 side i mean like texture/decal it's possible to go thru only from 1 side of flat block. All other sides will colide with player.

Please if you can, write all possible ways in lua to do that.

Thank for your patience and all help.

Roblox Strong !!! ~ ErtyPL

1 answer

✓ Accepted answer

This can simply be done with CollisionGroups. Once the player goes through the door, you can change the CollisionGroup of the player to one that cannot go through the door.

Requests on this forum aren't encouraged, so I will link some resources below so you can construct your own script.

Collision Group Release Blog - https://blog.roblox.com/2017/05/introducing-collision-groups/

Wiki Main Article - https://www.robloxdev.com/articles/Collision-Filtering

Collision Filtering Examples:

https://www.robloxdev.com/articles/Collision-Filtering-and-Groups

https://www.robloxdev.com/articles/Player-Player-Collisions

https://www.robloxdev.com/articles/Collision-Filtering-Team-Doors

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