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

◆ GetBulletPosition()

Vector2 Terraria.Projectile.HallowBossPelletStormInfo.GetBulletPosition ( int bulletIndex,
Vector2 centerPoint )
inline

Definition at line 74 of file Projectile.cs.

75 {
76 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
77 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
78 //IL_0019: Unknown result type (might be due to invalid IL or missing references)
79 //IL_001f: Unknown result type (might be due to invalid IL or missing references)
80 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
81 //IL_002b: Unknown result type (might be due to invalid IL or missing references)
82 //IL_0037: Unknown result type (might be due to invalid IL or missing references)
83 //IL_003c: Unknown result type (might be due to invalid IL or missing references)
84 return centerPoint + Vector2.UnitX.RotatedBy(StartAngle + AnglePerBullet * (float)bulletIndex) * StormTotalRange * GetBulletProgress(bulletIndex);
85 }

References Terraria.Projectile.HallowBossPelletStormInfo.AnglePerBullet, Terraria.Projectile.HallowBossPelletStormInfo.GetBulletProgress(), Terraria.Projectile.HallowBossPelletStormInfo.StartAngle, and Terraria.Projectile.HallowBossPelletStormInfo.StormTotalRange.

Referenced by Terraria.Projectile.HallowBossPelletStormInfo.GetBulletHitbox().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: