SpecialBounceHit: returning 0 and 1 has the same effect on planes

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

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: SpecialBounceHit: returning 0 and 1 has the same effect on planes

Re: SpecialBounceHit: returning 0 and 1 has the same effect on planes

by Nash » Sat Nov 11, 2023 9:23 am

Technically [Not a bug] then. Whatever fixes to the bounce logic would technically be a separate issue

Re: SpecialBounceHit: returning 0 and 1 has the same effect on planes

by Boondorl » Sat Nov 11, 2023 9:18 am

Internally nothing is ever done with the return result against planes which is the real issue. Currently I'm working on cleaning up the bounce code in my own Actor class and want to do a sweeping physics update to them later on down the road. There's tons of things broken with the logic like how it straight up doesn't even recognize that 3D floors exist (which leads to the infamous 3D ramp bug where projectiles get caught trying to bounce on them).

SpecialBounceHit: returning 0 and 1 has the same effect on planes

by Jekyll Grim Payne » Sat Nov 11, 2023 9:11 am

Judging by the structure and implied logic, it seems that returning 0 in SpecialBounceHit should result in the projectile stopping and exploding. However, that's only true for lines and actors. If the projectile hits a secplane, returning 0 makes it slide along the plane, exactly the same way as returning 1 does. (Tested in 4.11.3)

That seems like an oversight.

Top