I was curious. In the second balloon video posted a day ago on the blog, he introduces event touches to make the balloons move up in relation to where you click. I was wondering how you could apply the impulse based off of the location of the click of the balloon. For instance if you clicked from the top of the balloon then the impulse would send it down etc.
In the example given, the x impulse is 0 and the y is -.2
So how would you make those values relative to the actor?
Also, something a bit more complex, how would you create a screen wrap from one side to the next if you didn’t want walls?
Thanks!!
PS. I’ve been looking through the resources, but am having trouble finding good examples of the questions I’m looking for. I’m having jumping in though! Thanks Ansca team.
[import]uid: 10361 topic_id: 3122 reply_id: 303122[/import]
[import]uid: 10361 topic_id: 3122 reply_id: 10334[/import]