|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| float Terraria.Projectile.rotation |
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want to convert degrees to radians. 0 is facing right, F:Microsoft.Xna.Framework.MathHelper.PiOver2 is facing down, and so on. Note that hitboxes do not rotate.
The Basic Projectile Guideteaches more about projectile rotation.
Defaults to 0f.
Definition at line 142 of file Projectile.cs.
Referenced by Terraria.Projectile.AI_121_StardustDragon(), Terraria.Projectile.AI_149_GolfBall(), Terraria.Projectile.AI_151_SuperStar(), Terraria.Projectile.AI_152_SuperStarSlash(), Terraria.Projectile.Colliding(), Terraria.Projectile.CutTiles(), Terraria.Projectile.HandleMovement(), Terraria.Projectile.SetDefaults(), Terraria.Projectile.Update(), Terraria.Projectile.UpdateEnchantmentVisuals(), and Terraria.Projectile.VanillaAI().