0000260: Defining (ALLOW)BOUNCEONACTORS restricts z-axis mov

These bugs do plan to be resolved, when they can be.

Moderator: GZDoom Developers

0000260: Defining (ALLOW)BOUNCEONACTORS restricts z-axis mov

Postby GFD » Sun Apr 30, 2017 5:00 pm

Code: Select allExpand view
Summary   0000260: Defining (ALLOW)BOUNCEONACTORS restricts z-axis movement of rippers in monsters?
Description   Attached is a heavily simplified version of some old DECORATE code I had for a ripping projectile. In development builds (currently using Feb. 13's), this projectile cannot move vertically when ripping through a monster, but it can in 2.8.1. If you comment out the definitions for both the ALLOWBOUNCEONACTORS and BOUNCEONACTORS flags, but leave the A_ChangeFlag instructions under Spawn, this restriction of vertical movement no longer occurs, despite the flags still being set.

Rarely, while the aforementioned bug is in effect, the projectile can suddenly gain a ton of vertical velocity if being shot towards the top of the monster. I'm not sure what to make of that either.
Steps To Reproduce   Using the attached example code, fire the pistol at a monster, and notice how the fired projectile can't move vertically while inside the monster in development builds, but can in 2.8.1. This is more easily noticed with larger enemies.

https://mantis.zdoom.org/file_download. ... 5&type=bug
User avatar
My brain's probably worth a lot of money!
Joined: 31 May 2010
Location: Canada

Re: 0000260: Defining (ALLOW)BOUNCEONACTORS restricts z-axis

Postby Graf Zahl » Sun Apr 30, 2017 5:00 pm

While I found a few problems in the bouncing code while checking this I have no idea what causes this effect. It still happens on occasion but I have no idea where things go wrong.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to On Hold Bugs

Who is online

Users browsing this forum: No registered users and 0 guests