+ Reply to Thread
Results 1 to 4 of 4

Thread: findClipFromBox(V,V)

  1. #1
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default findClipFromBox(V,V)

    Just a simple request. We have findClipFromSphere and findClipToSphere, but why no box?
    findClipFromBox(V,V)
    findClipToBox(V,V)

    This would be useful for finding within an edge, for a sort of anti-noclip, or stop items from hitting 'crash' walls in gm_new_worlds.

    Edit:
    http://www.wiremod.com/forum/patch-s...ipfrombox.html
    Last edited by Whosdr; 03-11-2010 at 12:42 PM.
    .siht daer ot gniyrt emit detsaw ev'uoY

  2. #2
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: findClipFromBox(V,V)

    Personally I never understood why findClipToSphere() was added in the first place. If you only want entities inside that sphere, that's where you ought to have made your entity search. It seems to me like it's only promoting bad coding.
    FromBox might be useful, though, I agree.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  3. #3
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: findClipFromBox(V,V)

    I'm glad you agree.
    I was trying to justify the use of toSphere, then realised you are correct.
    .siht daer ot gniyrt emit detsaw ev'uoY

  4. #4
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582
    Last edited by Divran; 03-11-2010 at 12:51 PM.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

+ Reply to Thread

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