Prevent Cube Through Grating

Avatar
Denominator
19 Posts
Posted Aug 14, 2013
Hello,

I noticed while testing my map that I can pull cubes through grating. However, I have played other Portal 2 puzzles which rely heavily on dragging a cube along a grating, without being able to pull it through. Is there some setting or entity I can use to apply this feature?

Thanks in advance!

Advertisement
Registered users don’t see ads! Register now!
Avatar
Tmast98
210 Posts
Posted Aug 14, 2013
Replied 30 minutes later
Hey,

As far as I am aware this is a bug that has yet to have a 100% solution, but this is what I do...

  1. Make a func_brush using the grate texture, turn receiving shadows off, and solidity to never (or not solid, I forgot what this entity calls it).

  2. Make a brush the same size except use the playerclip texture, make this a func_detail.

  3. Make a nodraw box the same size as the previous two boxes, and make it a func_clip_vphyscics.

This isn't perfect, but I believe this is as close to perfect as you can get.

Avatar
Gemarakup
1,183 Posts
Posted Aug 15, 2013
Replied 3 hours later

Tmast98 wrote:
Hey,

As far as I am aware this is a bug that has yet to have a 100% solution, but this is what I do...

  1. Make a func_brush using the grate texture, turn receiving shadows off, and solidity to never (or not solid, I forgot what this entity calls it).

  2. Make a brush the same size except use the playerclip texture, make this a func_detail.

  3. Make a nodraw box the same size as the previous two boxes, and make it a func_clip_vphyscics.

This isn't perfect, but I believe this is as close to perfect as you can get.

For the playerclip, use func_brush if it doesn't work on func_detail, and for the func_clip_vphyisics, If it doesn't work, make sure it's textured with "clip".

Advertisement
Registered users don’t see ads! Register now!
Avatar
Denominator
19 Posts
Posted Aug 17, 2013
Replied 2 days later
Thanks! I will experiment with this.