HelpMaking a projectile rotate

Posts 1–5 of 5 · Page 1 of 1
Making a projectile rotate
Hey does anyone know how to make a projectile rotate when its fired from a weapon?
yes
let me get the code for u to add to the item xml

- - - Updated - - -

add this to the projectile code you have
Code:
    <AngleCorrection>1</AngleCorrection>
- - - Updated - - -

should fix it
how does angle correction work, does it change the angle at which the projectile is and if so what are the parameters, like 1 = what? ect... is it based in degrees?
Quote Originally Posted by Pandaman1321 View Post
add this to the projectile code you have
Code:
<AngleCorrection>1</AngleCorrection>
- - - Updated - - -

should fix it
Thats wrong. Angle correction is for if the sprite of the tilted in the sprite sheet and you want it strait.
The real code is

Code:
<rotation>50</rotation>
1 = Very very very slow
400 = Hyperspeed
well damn i read the thread wrong my bad XD
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us