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

How to make a part see-through but CanCollide is on?

So, if you've ever played "Build a Boat for Treasure" before, you probably know that they have see-through walls, and you can't just walk into them. I have no idea where to start and how to script this, and if there is a random property that I am missing, please tell me. I also have been messing around with CanCollide and CollisionGroupId, or maybe this is super simple and I'm just dumb. Anyone know?

(Please do not just provide a script).

Thanks everyone!

4 answers

✓ Accepted answer

There is the certainly working way:

  1. Make a proxy part which is Transparent and can collide is on, and it should be exactly what the part originally looks like, and the positions & size should be the same.

  2. Make your original part can collide to false.

  3. It can work.

1 comment

0

Thanks, it worked!

You set the parts Transparency property to what ever you like

4 comments

0

Yes, but I don't want it to be invisible. Thanks, though!

2

you can adjust the transparency 1=invisible, 0.5=middle, 0=opaque

0

1-0

0

You see transparency doesnt only use whole numbers but also decimals, 0.5 is half visible and 0.25 is a quarter invisible, test it for yourself, its simple.

Set the transparency of the part to 0.5. This will cause it to be transparent, but you can still see the wall there.

You can do this by setting DevCameraOcclusionMode (In starterPlayer) to invisicam (Notice: The part transparency will be about 0.5 if you look through it, not completely opaque)

6 comments

0

And where in StarterPlayer? Sorry if I'm a little bad at this, because I'm really bad at camera stuff.

0

Oh it is in the explorer (it not inside workspace, it outside)

0

I did it in a script, but it doesn't really work.

0

I don't recommend set it with script, why not manual

0

If you also copy the playermodule (found in Player.PlayerScripts when you're testing the game) and paste it into starterplayer>starterplayerscripts. and change line 12's value to 0 (in playermodule>cameramodule>invisicam)

0

it acts exactly the same as in build a boat

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