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

◆ tileCollide

bool Terraria.Projectile.tileCollide

If true, the projectile will collide with tiles, usually bouncing or killing the tile depending on M:Terraria.ModLoader.ModProjectile.OnTileCollide(Microsoft.Xna.Framework.Vector2). ExampleBulletshows how to implement bounce.
Defaults to true.

Definition at line 340 of file Projectile.cs.

Referenced by Terraria.Projectile.AI_152_SuperStarSlash(), Terraria.Projectile.Damage(), Terraria.Projectile.DefaultToSpray(), Terraria.Projectile.DefaultToWhip(), Terraria.Projectile.HandleMovement(), Terraria.Projectile.SetDefaults(), and Terraria.Projectile.UpdatePosition().