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

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: 0000260: Defining (ALLOW)BOUNCEONACTORS restricts z-axis mov

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

by 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.

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

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

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

Top