shoot towards touch
![MERM](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
ok so i have been doing other games and they just ain't workin so i decided to do something a little more basic than what i was doing bfore. so now, i have a ninja actor that rotates to where u r touching. there is a shooting button in the corner that shoots guitar picks from the ninja (the theme is a pixelated punk rock star ninja defending his karma from the fruits and evil samauris that r trying to steal it). for some reason it just shoots one and only towards the button that u press. any help?
Comments
Here's some other ways of doing it that will be easier.
1) Have your ninja always spawning guitar picks and just constrain the ninja's rotation as you have already done. Then in the spawn have the picks spawned 0 relative to actor. In the pick have a change velocity relative to actor.
2) Have a rule that causes the pick to be spawned when touch is released. If you are only playing with one finger then when the touch is released the touch1x and y coordinates will be set to the last place you touched until you touch again.
peace and beans, peace and beans.