[Already In] BlockingLines array

Moderator: GZDoom Developers

BlockingLines array

Postby 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
User avatar
Joined: 25 Sep 2015
Location: elsewhere

Re: BlockingLines array

Postby 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.
Last edited by Matt on Wed Sep 11, 2019 12:12 pm, edited 1 time in total.
User avatar
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 4:11 pm

BlockLinesIterator is already in.
User avatar
Major Cooke
QZDoom Maintenance Team
Joined: 28 Jan 2007

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest