hero throws item when button is pressed
derka6391
Member Posts: 31
Im trying to make it to where when i press a button my hero throws out an item. I can get the button pressed and spawn to work but I want it to look like my hero throws it instead of it spawning.
Answers
e.g. your actor shoots an arrow with a bow
FIRST start bow stretch animation (animation not looping)
AFTER THAT start release bowstring animation (animation not looping)
PARALLEL spawn arrow in back of actor.
The rest is some fine tuning
Btw: Stretching and releasing the bowstring could also be one animation. It depends on whether you distinguish touch pressed and touch released.
what do you mean by bow or bowstring?
Spawn the item behind the player. Adjust the spawn position to match the player's hand. Tell the item,
For 1 second accelerate up
After 1 second accelerate down. Run to completion.
got it! thank you!