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

◆ oldRot

float [] Terraria.Projectile.oldRot = new float[10]

Holds the value of F:Terraria.Projectile.rotation from previous updates from newest to oldest. Use for drawing trails. Must be used with F:Terraria.ID.ProjectileID.Sets.TrailCacheLength and F:Terraria.ID.ProjectileID.Sets.TrailingMode to be used properly.

Definition at line 309 of file Projectile.cs.

Referenced by Terraria.Projectile.CloneDefaults(), Terraria.Projectile.Colliding(), Terraria.Projectile.SetDefaults(), and Terraria.Projectile.Update().