Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
LazokkYT 117
4 years ago

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

Log in to vote
0
Answered by 4 years ago

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.

0
Thanks, it worked! LazokkYT 117 — 4y
Ad
Log in to vote
1
Answered by 4 years ago

You set the parts Transparencyproperty to what ever you like

0
Yes, but I don't want it to be invisible. Thanks, though! LazokkYT 117 — 4y
2
you can adjust the transparency 1=invisible, 0.5=middle, 0=opaque bittersweetfate 142 — 4y
0
1-0 kie1605 0 — 4y
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. ChrisTheRobloxPlayYT 256 — 4y
Log in to vote
1
Answered by
Nckripted 580 Moderation Voter
4 years ago

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

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

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)

0
And where in StarterPlayer? Sorry if I'm a little bad at this, because I'm really bad at camera stuff. LazokkYT 117 — 4y
0
Oh it is in the explorer (it not inside workspace, it outside) Nguyenlegiahung 1091 — 4y
0
I did it in a script, but it doesn't really work. LazokkYT 117 — 4y
0
I don't recommend set it with script, why not manual Nguyenlegiahung 1091 — 4y
View all comments (2 more)
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) ThisIsAnAccount255 143 — 4y
0
it acts exactly the same as in build a boat ThisIsAnAccount255 143 — 4y

Answer this question