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

◆ Colliding()

virtual ? bool Terraria.ModLoader.GlobalProjectile.Colliding ( Projectile projectile,
Rectangle projHitbox,
Rectangle targetHitbox )
inlinevirtual

Allows you to use custom collision detection between a projectile and a player or NPC that the projectile can damage. Useful for things like diagonal lasers, projectiles that leave a trail behind them, etc.

Parameters
projectile
projHitbox
targetHitbox
Returns

Definition at line 282 of file GlobalProjectile.cs.

283 {
284 return null;
285 }