Closed Thread
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: Parenting supported by gates, more to come

  1. #1
    Have plane will travel Anticept's Avatar
    Join Date
    Feb 2008
    Location
    Ohio, USA
    Posts
    1,503

    Default Parenting supported by gates, more to come

    Some of you will have noticed that there is a new checkbox in the gates which is selected, or should be selected, by default. Parenting. It is still in extensive testing, but recommended that people start using this (with nocollide selected) instead of welding.

    This video will explain why with the netgraph: Wiremod Gate Parenting - Xfire Video

    Also, as you won't really see from the video, but can infer it, you can't black-hole easily with parented props.

    It's not without a couple issues however:
    1) You can't dupe parented objects with the child prop without one of the symmetrical constraints (like nocollide). Just keep nocollide on, and this won't be an issue.
    2) You can only pick up groups of props by grabbing the childmost prop. Grabbing a parented object has no influence on the child prop's physics, so it would be like grabbing a frozen object. Note that a child object is actually the object you parented TO, not the object that is "parented."
    3) Parented objects are basically no-collide with anything. They even go through brushes and the world's edge (need to test: will this cause crashes with max sized maps?)
    4) Possibly breaks tracing. Works fine with wiring, but does this break other things?
    5) You might have welding auto-selected from previous runs. You have to unselect parenting to be able to toggle welding. This is a garrysmod bug that really isn't a bug, just a side effect, as ticked boxes are remembered across startups.
    6) We don't seem to have a way to REMOVE the parent constraint in the WireSVN... yet. However I do believe the easy precision stool from PHX can.
    7) Possible crash bug related to repeated parenting with the same props, but needs verification.
    Last edited by Anticept; 05-30-2010 at 02:25 PM.
    "You can only tie the record for flying low."

  2. #2
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Parenting supported by gates, more to come

    Quote Originally Posted by Anticept View Post
    1) You can't dupe parented objects with the child prop without one of the symmetrical constraints (like nocollide). Just keep nocollide on, and this won't be an issue.

    Why don't we just force nocollide if parenting is set?
    Last edited by Anticept; 05-30-2010 at 02:25 PM.

  3. #3
    hurrr physics Tolyzor's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    1,020

    Default Re: Parenting supported by gates, more to come

    I can't remember which ones, but some parenting tools allow you to grab the child prop, which would be useful for this.

    This is pretty cool though, gates may yet make a comeback!

    Will the multiplayer gate quotas be increased for parented gates?

    This could really be an option for every wiremod entity actually, collisions aren't usually needed for them.
    Comprehensive Gmod physics guide - Ballistic trajectory with drag - Autodyno engine performance test
    Quote Originally Posted by janvos2506 View Post
    i just going to type the code over and over again and maybe il remeber it then
    Don't make the mistake these skydivers did and use any of my Gmod physics models for real life situations...

  4. #4
    Have plane will travel Anticept's Avatar
    Join Date
    Feb 2008
    Location
    Ohio, USA
    Posts
    1,503

    Default Re: Parenting supported by gates, more to come

    Quote Originally Posted by Syranide View Post
    Why don't we just force nocollide if parenting is set?
    There shouldn't ever be a typical reason for unselecting it, but this is gmod. We aren't always typical.
    "You can only tie the record for flying low."

  5. #5
    Wire Sofaking LimEJET's Avatar
    Join Date
    Nov 2007
    Location
    Sweden
    Posts
    936

    Default Re: Parenting supported by gates, more to come

    Has anyone looked into the Super Parent Multi STool? It has some kind of physics added to the parented props. It works great, so see if you can contact the author about using the technique if it's good and fast enough.

  6. #6
    hurrr physics Tolyzor's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    1,020

    Default Re: Parenting supported by gates, more to come

    Quote Originally Posted by LimEJET View Post
    Has anyone looked into the Super Parent Multi STool? It has some kind of physics added to the parented props. It works great, so see if you can contact the author about using the technique if it's good and fast enough.
    Ah, yeah that's the one I was thinking about.
    Comprehensive Gmod physics guide - Ballistic trajectory with drag - Autodyno engine performance test
    Quote Originally Posted by janvos2506 View Post
    i just going to type the code over and over again and maybe il remeber it then
    Don't make the mistake these skydivers did and use any of my Gmod physics models for real life situations...

  7. #7
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,156

    Default Re: Parenting supported by gates, more to come

    Divran, this is a grat thing you just did. Best part is its a checkbox (as I usually parent all props with a secondary stool to a single prop).

    Hopefully the regular sandboxers (spacebuilders usually already do this) will realise the use of parenting and use it for most stuff, and if not, atlest use the checkbox to reduce amount of lag anyway.

  8. #8
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: Parenting supported by gates, more to come

    Next step is adding this for E2. I'll try to remember to get started on that tomorrow. The E2 parent checkbox should be unchecked by default, though, imo.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  9. #9
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: Parenting supported by gates, more to come

    If you parent an e2 to something can you update it's code?

  10. #10
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: Parenting supported by gates, more to come

    Quote Originally Posted by initrd.gz View Post
    If you parent an e2 to something can you update it's code?
    Well I could still click gates when they were parented... so why not E2s too?
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

Closed Thread
Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots