Blocking Gibs From Passing a Window?

Discussion in 'Mapping Questions & Discussion' started by SirFatalx, Dec 14, 2009.

  1. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Is it possible to block gibs from passing a window? I am using a window texture with a func_breakable. When I tested it, it seems that when I blow myself up, I see my gibs go straight through the window, and the window does not block them at all (This includes my weapon).

    Is it possible to block them somehow?
     
  2. Titanium

    Titanium L1: Registered

    Messages:
    28
    Positive Ratings:
    11
    Maybe use a clip and set it to disable when the windows is broken.
     
  3. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Yea I tried that
     
  4. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
  5. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    That removes the window, do you mean put a func_clip_vphysics brush on both sides of the window?
     
  6. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Or you could make the physics clip brush encase the entire window itself. That'd be a lot easier.

    As far as blocking gibs from passing though it, I haven't tried it myself, but since I'm 99% sure that gibs are physics objects, thus it should work
     
  7. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Hmm, Still didn't seem to work. I use the "Clip" texture right?
     
  8. Tapp

    Tapp L10: Glamorous Member

    Messages:
    776
    Positive Ratings:
    211
    I'm pretty sure that gibs use a pre-calculated physics system, and cannot handle dynamic objects. Hence why gibs don't bounce off of players.
     
  9. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,853
    Positive Ratings:
    4,863
    Yes, but they hit the bsp.

    Make a func_brush thats invisible, and disable it when the windows broken maybe?
     
  10. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Doesn't seem to work, oh well, I guess I have to deal with it for now. Thanks for all your help.
     
  11. ChronoTriggerFan

    ChronoTriggerFan L7: Fancy Member

    Messages:
    435
    Positive Ratings:
    72
    Ragdolls and gibs will only collide with world geometry is what I thought. It isn't a thing you should spend time worrying anyway, as even in valve maps no one seems to care.
     
  12. SirFatalx

    SirFatalx L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    The only problem I see is my map has a window with 2 rooms connecting it, and the gibs go right through the window, doesn't look right, but I will deal with it. Thank you.