BlockingLines array

Moderator: GZDoom Developers

Post Reply
User avatar
comet1337
Posts: 876
Joined: Fri Sep 25, 2015 3:48 am
Location: elsewhere

BlockingLines array

Post by comet1337 »

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
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: BlockingLines array

Post by Matt »

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
Major Cooke
Posts: 8170
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: BlockingLines array

Post by Major Cooke »

BlockLinesIterator is already in.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”