How do you make a part able to be walk threw able ?
Epicyes13 is absolutely correct; however, I will help you scripting-wise. The 'CanCollide' property of a part uses a boolean
value, which means true
or false
. It's rather quite easy to manipulate such through Lua code. Here is an example:
brick = script.Parent --Be sure to put this script inside of a brick brick.CanCollide = false --Set to false; able to walk through
If you have any further questions, feel free to send me a message through ROBLOX.
~Misclear
In the properties of a part, there is a property called "CanCollide". If you set this to false, or unchecked, objects will go through it. Make sure it is anchored, or else it will fall through the baseplate.
There are two ways to do this; through the properties, or through script.
1 To make it walk-through make sure the 'Properties' tab is viewable, select your brick, and uncheck the CanCollide
setting.
Make sure your brick is Anchored
(Another setting, right next to CanCollide) or else it will fall through the baseplate.
2 To make it walk-through via script; you can do this:
game.Workspace.Part.CanCollide = false -- change part to whatever your brick is named game.Workspace.Part.Anchored = true -- this is so it doesn't fall through the baseplate
Hope I helped :)