beginner question ("shooting arrows")
Posted: Thu Nov 24, 2011 11:58 pm
hi everyone,
I (complete newbie) have a rather simple problem I'am stuck with (no programming experience).
I've made sth like a top-down shooter where you can shoot arrows. Now the arrow checks in which direction it's shooting and chooses one of 8 animations for that.
The problem is: When I'am shooting them arrows fast enough then the allready shot arrows copy the animation of the newly shot one's. So when the shooter turns around
fast enough then the outer arrows have wrong animations. I hope you get what I mean.
I use "create actor" on click and a script that chooses animation and angle according to mouse relative to creator on creation of the arrow.
Thx for any help/tips in advance!
I (complete newbie) have a rather simple problem I'am stuck with (no programming experience).
I've made sth like a top-down shooter where you can shoot arrows. Now the arrow checks in which direction it's shooting and chooses one of 8 animations for that.
The problem is: When I'am shooting them arrows fast enough then the allready shot arrows copy the animation of the newly shot one's. So when the shooter turns around
fast enough then the outer arrows have wrong animations. I hope you get what I mean.
I use "create actor" on click and a script that chooses animation and angle according to mouse relative to creator on creation of the arrow.
Thx for any help/tips in advance!