Shoot at an angle
cnmeyer1980
Member, PRO Posts: 211
Hello everyone, I hope you're all well.
Soooo. Imagine the scene. You have a square with an arrow in it, the arrow goes clockwise. When you tap the square, based on the arrow a ball shoots out in that direction.
Does anyone have any suggestions on how to do this?
I'm going to try and work it out this evening, however, any advise would be amazing.
Cheers as always everyone,
Chris
Comments
When you tap the square spawn the ball.
Place a move behaviour in the ball actor.
Job done !
Try something like this.
Edit -- Dang! Beat by @Socks again!
Edit 2 -- But faster than @jamie_c
AH! @RThurman, beat me to it!
Here is my sample anyway...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Hi guys - thank you, thank you, thank you so much - I didn't expect a template of it, and I'm so grateful cheers everyone