BlockingLines array

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: BlockingLines array

Re: BlockingLines array

by Major Cooke » Tue Sep 10, 2019 4:11 pm

BlockLinesIterator is already in.

Re: BlockingLines array

by Matt » Tue Sep 10, 2019 3:52 pm

I think this can already be done modder-side with some LineTracers and a thinker.
EDIT: yes, BlockLinesIterator since it appears only to check the lines in a given area rather than having to go through the entire map every time.

BlockingLines array

by comet1337 » Tue Sep 10, 2019 2:54 pm

for iterating through multiple simultaneous BlockingLines, mainly for normalizing the angle results on corner collisions
because currently (ex bouncing projectiles) can take one line of a corner and use it for calculating the bounce, even if its more to the other side of said corner, and trying to bounce away from the farther one gets clipped inside the wall

Top