12 years, 2 months ago
Highlights
You are converting the result of atan2() to degree ! "Angle = Math.Atan2(DeltaY, DeltaX) * 180 / Math.PI;" So, you need to change it to "Angle = Math.…
12 years, 2 months ago
12 years, 9 months ago
Hi guys, I have the following code where Projectiles are guided toward the ship. DeltaX = (_ShipPosX + _Ship.Width / 2) - Projectile.PositionX; DeltaY = (_ShipPosY + _Shi…
12 years, 9 months ago
That's why there's * 180 / Math.PI and this is put in a variable in Radian and passed to COS and SIN. This formula works ok and it follows the ship all right but when the ship m…
12 years, 9 months ago
Latest Activity
You are converting the result of atan2() to degree ! "Angle = Math.Atan2(DeltaY, DeltaX) * 180 / Math.PI;" …
12 years, 2 months ago
That's why there's * 180 / Math.PI and this is put in a variable in Radian and passed to COS …
12 years, 9 months ago
Hi guys, I have the following code where Projectiles are guided toward the ship. DeltaX = (_ShipPosX + _Ship.Width …
12 years, 9 months ago