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

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

Moderator: GZDoom Developers

Post Reply
User avatar
GFD
Posts: 347
Joined: Mon May 31, 2010 7:42 pm
Preferred Pronouns: He/Him
Location: Canada
Contact:

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

Post by GFD »

https://mantis.zdoom.org/view.php?id=260

Code: Select all

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

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

Post by Graf Zahl »

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.
Post Reply

Return to “On Hold Bugs”