[Already In] BlockingLines array

Moderator: GZDoom Developers

BlockingLines array

Postby comet1337 » Tue Sep 10, 2019 3: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
User avatar
comet1337
 
Joined: 25 Sep 2015
Location: elsewhere

Re: BlockingLines array

Postby Matt » Tue Sep 10, 2019 4: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.
Last edited by Matt on Wed Sep 11, 2019 1:12 pm, edited 1 time in total.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: BlockingLines array

Postby Major Cooke » Tue Sep 10, 2019 5:11 pm

BlockLinesIterator is already in.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Awario [RSS], Google [Bot], Semrush [Bot] and 2 guests