I wanted to see if I could call a function with another function, alas, it works.. Kind of. At least not what I had in mind. I wanted every 1 second to call the first function that would:
1. Call a 2nd function that would prepare a sprite (bullet) to be pinned to an invisible sprite and position it at a certain imagine point, set a rotating motion to the sprite. then
2. Set the angle of motion and speed that is listed in the first function
What I get is, the first function is called, then second function is called to create the bullet, start spinning etc. but it does NOT set the direction and speed as I thought. It waits 1 seconds to send the first created bullet on its way then creates another bullet which hangs out for a second.
Can someone walk me through what is going on and why the bullets are being created but the speed and direction are NOT set at the same time?
The link at the bottom should have a Capx.
https ://drive .google.com/open?id=1PIcyflt3Lxos5Mm91oNh210tGy_iP-aB