What direction is the correct direction? I'm not too sure what you mean. I suppose you've got a type collection for bullets tho. Can you give anymore of an explanation?
If you want the bullets to go in a particular direction, use sin and cos again.
Is that what you mean?
If you want the bullets to go in a particular direction, use sin and cos again.
bullet_angle=50 bullet_x=bullet_x+(cos(bullet_angle)*bullet_speed) bullet_y=bullet_y+(sin(bullet_angle)*nullet_speed)
Is that what you mean?