Search found 1 match

by Indefinity
Wed Apr 17, 2013 1:23 am
Forum: Support and Development
Topic: How to make a bullet face the direction it was fired in...
Replies: 2
Views: 1993

Re: How to make a bullet face the direction it was fired in.

One way that I can think of is to find the slope between the center of the image and the point at which you clicked. You can, from that, make a linear equation for it and plug in the X position (a constant x+1 per frame I'd guess or whatever you'd prefer) and set the Y from the equation.