Jump to content

Kenquinn

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Posts posted by Kenquinn


  1. The concept of the commands aren't useless, they are just implemented in a way that makes them useless for anything beyond checking things in your immediate (sub 250m) surroundings. Checking for LOS across a distance of many kilometers causes the entire game to lock up for many seconds because you have to get EVERY object in a diameter the length of the check! 99% of the objects passed to the function are going to not even be close to the LOS beam, but there is no good way to get just those objects. I assume the function is also doing some sort of check against these unneeded objects as well.

    The commands just seem very, very inefficient.

    Both lineIntersects and lineIntersectsWith do not require a list of objects to work. If you test then you will find they only require begPos and endPos to function.

×