Bug Closed · Resolved

Projectiles trespassing blocks

#4218 opened by Unknown 3 years ago

Unknownreported this bug

When used against an angle between two blocks, projectile will tend to go through that gap, allowing players to shoot beyond certain barriers even if the StopAtBlock is set to true.

a photo of the gap I refer to. [Legacy attachment omitted]

the projectile is currently set up like this:

  • projectile{ignoretransparent=false;hp=false;onTick=TerminusUltimaT1;onEnd=TerminusUltimaE1;mr=18;v=20;ti=1;in=0.5;se=false;hs=false;mhc=1;hR=2;vR=2;StopAtBlock=true;HitNonPlayers=true;HorizontalOffset=0;sfo=-2;d=80;ham=true} @targetlocation

so that at the end of the projectile the player will get teleported at the endpoint of it, allowing a quicker "leap". However, when used against those angles the projectile tends to go through and so teleport the player behind it.

Is there a way i can fix this? like making so that the projectiles covers a wider area of "hitbox"? or is this a bug i can't do anything about?

Unknowncommented

You can try using a higher tickInterpolation value and see if that helps, or make the wall thicker. Aside from that, if we improve the checking any more then ham=true already does it will have a drastic impact on server performance and isn't ideal

Sign in to join the discussion.