TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ExtendedCanHitCheckRange

float [] Terraria.ID.ProjectileID.Sets.ExtendedCanHitCheckRange = Factory.CreateFloatSet(0f, 833f, 48f, 834f, 48f, 835f, 48f)
static

If non-zero, then the given projectile type (F:Terraria.Projectile.type) will check for collisions that many pixels above itself and its target if it doesn't directly collide.
For example, a value of 48f allow a hit if there was an empty line from 48 pixels above the projectile's P:Terraria.Entity.Top to 48 pixels above the target's Top.
Defaults to 0f.

Definition at line 452 of file ProjectileID.cs.

Referenced by Terraria.Projectile.CanHitWithOwnBody().